Skip to content

Commit

Permalink
Fixed some export
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzznimp committed Oct 22, 2020
1 parent e0c2094 commit 9351311
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
@@ -1,7 +1,7 @@
import React from "react";

import { StoriesContainer } from "../StoriesContainer";
import AccountOverview from "./AccountOverview";
import { AccountOverview } from "./AccountOverview";

export default { title: "pages/Account Overview", component: AccountOverview };

Expand Down
2 changes: 1 addition & 1 deletion src/components/display/fewlines/Home/Home.stories.tsx
@@ -1,7 +1,7 @@
import React from "react";

import { StoriesContainer } from "../StoriesContainer";
import Home from "./Home";
import { Home } from "./Home";

export default { title: "pages/Home", component: Home };

Expand Down
4 changes: 1 addition & 3 deletions src/components/display/fewlines/Home/Home.tsx
Expand Up @@ -10,7 +10,7 @@ import { deviceBreakpoints } from "@src/design-system/theme/lightTheme";

type HomeProps = { authorizeURL: string };

const Home: React.FC<HomeProps> = ({ authorizeURL }) => {
export const Home: React.FC<HomeProps> = ({ authorizeURL }) => {
const router = useRouter();
return (
<>
Expand Down Expand Up @@ -40,8 +40,6 @@ const Home: React.FC<HomeProps> = ({ authorizeURL }) => {
);
};

export default Home;

const Wrapper = styled.div`
position: absolute;
top: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
@@ -1,7 +1,7 @@
import { GetServerSideProps } from "next";
import React from "react";

import Home from "@src/components/display/fewlines/Home/Home";
import { Home } from "@src/components/display/fewlines/Home/Home";
import { oauth2Client } from "@src/config";
import { withSSRLogger } from "@src/middleware/withSSRLogger";
import Sentry, { addRequestScopeToSentry } from "@src/utils/sentry";
Expand Down

0 comments on commit 9351311

Please sign in to comment.