Skip to content

Commit

Permalink
Use API type
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-zeglen committed Oct 10, 2018
1 parent 7f82545 commit 64c51ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ import Form, { FormProps } from "../../../components/Form";
import { FormSpacer } from "../../../components/FormSpacer";
import SingleSelectField from "../../../components/SingleSelectField";
import i18n from "../../../i18n";

export enum AuthorizationKeyType {
FACEBOOK = "FACEBOOK",
GOOGLE_OAUTH2 = "GOOGLE_OAUTH2"
}
import { AuthorizationKeyType } from "../../../types/globalTypes";

const authorizationKeyTypes = () => ({
[AuthorizationKeyType.FACEBOOK]: i18n.t("Facebook"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { storiesOf } from "@storybook/react";
import * as React from "react";

import SiteSettingsKeyDialog, {
AuthorizationKeyType,
SiteSettingsKeyDialogProps
} from "../../../siteSettings/components/SiteSettingsKeyDialog";
import { AuthorizationKeyType } from "../../../types/globalTypes";
import Decorator from "../../Decorator";

const props: SiteSettingsKeyDialogProps = {
Expand Down

0 comments on commit 64c51ce

Please sign in to comment.