diff --git a/src/components/layout/view.tsx b/src/components/layout/view.tsx index 68c47cac..c5dde8a9 100644 --- a/src/components/layout/view.tsx +++ b/src/components/layout/view.tsx @@ -1,9 +1,9 @@ import { FC, ReactNode, ReactElement, useState, useEffect } from "react"; import { Box, Flex } from "@chakra-ui/react"; import { useRouter } from "next/router"; -import { ListInfo } from "libs/firebase/types"; -import { getInfo } from "libs/firebase/store"; import { ViewHeader } from "./header/view"; +import { ListInfo } from "../../libs/firebase/types"; +import { getInfo } from "../../libs/firebase/store"; interface ViewLayoutInterface { children: ReactNode; diff --git a/src/pages/share/index.tsx b/src/pages/share/index.tsx index ec9d5ca8..c415958c 100644 --- a/src/pages/share/index.tsx +++ b/src/pages/share/index.tsx @@ -2,10 +2,10 @@ import { Box, Flex, useDisclosure } from "@chakra-ui/react"; import type { GetServerSideProps, NextPageWithLayout } from "next"; import type { ListInfo, StoreCardList } from "libs/firebase/types"; import { useEffect, useState } from "react"; -import { getCardList, getInfo } from "libs/firebase/store"; import { ViewImageCard, ViewTextCard } from "components/card/view"; import { ViewModal } from "components/view-modal"; import { NextSeo } from "next-seo"; +import { getCardList, getInfo } from "../../libs/firebase/store"; import { createGetLayout } from "../../components/layout/view"; type ViewPageProps = {