Skip to content

Commit

Permalink
fix: export and import HomePage
Browse files Browse the repository at this point in the history
  • Loading branch information
ob6160 committed Oct 3, 2021
1 parent 1d3e4bb commit 2219b6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const LooMap = dynamic(() => import('../components/LooMap'), {
ssr: false,
});

const HomePage = () => {
export const HomePage = () => {
const router = useRouter();
const { message } = router.query;
const [mapState, setMapState] = useMapState();
Expand Down
1 change: 1 addition & 0 deletions src/pages/map/[lng]/[lat].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { useRouter } from 'next/router';
import { withApollo } from '../../../components/withApollo';
import { NextPage } from 'next';
import { useFindLoosNearbyQuery } from '../../../api-client/graphql';
import { HomePage } from '../..';

const SIDEBAR_BOTTOM_MARGIN = 32;
const MapLoader = () => <p>Loading map...</p>;
Expand Down

0 comments on commit 2219b6b

Please sign in to comment.