From 5fe745ce0e2ca3a606ee3d1af2a45695df8eae93 Mon Sep 17 00:00:00 2001 From: LSJ Date: Fri, 17 May 2024 13:52:04 +0900 Subject: [PATCH] redesign-mainpage --- modals/aboutHeader/DateCalendarModal.tsx | 2 +- pageTemplates/home/homeHeader/HomeHeader.tsx | 2 +- .../home/studyController/StudyControllerVoteButton.tsx | 2 +- pages/_app.tsx | 2 +- pages/admin/index.tsx | 2 +- pages/home/index.tsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modals/aboutHeader/DateCalendarModal.tsx b/modals/aboutHeader/DateCalendarModal.tsx index 515c9992c..1ae607c13 100644 --- a/modals/aboutHeader/DateCalendarModal.tsx +++ b/modals/aboutHeader/DateCalendarModal.tsx @@ -1,7 +1,7 @@ import { Box } from "@chakra-ui/react"; import { Dayjs } from "dayjs"; -import { useSession } from "next-auth/react"; import { useRouter, useSearchParams } from "next/navigation"; +import { useSession } from "next-auth/react"; import { Dispatch } from "react"; import { useRecoilValue } from "recoil"; diff --git a/pageTemplates/home/homeHeader/HomeHeader.tsx b/pageTemplates/home/homeHeader/HomeHeader.tsx index 69ba278a8..162242326 100644 --- a/pageTemplates/home/homeHeader/HomeHeader.tsx +++ b/pageTemplates/home/homeHeader/HomeHeader.tsx @@ -1,7 +1,7 @@ import { Box } from "@chakra-ui/react"; import dayjs from "dayjs"; -import { useSession } from "next-auth/react"; import { useRouter, useSearchParams } from "next/navigation"; +import { useSession } from "next-auth/react"; import { useEffect, useState } from "react"; import { useRecoilValue, useSetRecoilState } from "recoil"; import styled from "styled-components"; diff --git a/pageTemplates/home/studyController/StudyControllerVoteButton.tsx b/pageTemplates/home/studyController/StudyControllerVoteButton.tsx index cbc3401dc..8a2332325 100644 --- a/pageTemplates/home/studyController/StudyControllerVoteButton.tsx +++ b/pageTemplates/home/studyController/StudyControllerVoteButton.tsx @@ -1,6 +1,6 @@ import { Box } from "@chakra-ui/react"; -import { useSession } from "next-auth/react"; import { useRouter, useSearchParams } from "next/navigation"; +import { useSession } from "next-auth/react"; import { useRecoilValue } from "recoil"; import { IShadowCircleProps } from "../../../components/atoms/buttons/ShadowCircleButton"; diff --git a/pages/_app.tsx b/pages/_app.tsx index fcfc7246b..e3205af87 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -4,9 +4,9 @@ import "../styles/variable.css"; import { ChakraProvider } from "@chakra-ui/react"; import { config } from "@fortawesome/fontawesome-svg-core"; -import { SessionProvider } from "next-auth/react"; import type { AppProps } from "next/app"; import Head from "next/head"; +import { SessionProvider } from "next-auth/react"; import { QueryClient, QueryClientProvider } from "react-query"; import { RecoilRoot } from "recoil"; diff --git a/pages/admin/index.tsx b/pages/admin/index.tsx index 2a74d7cef..6b4a3ee14 100644 --- a/pages/admin/index.tsx +++ b/pages/admin/index.tsx @@ -1,6 +1,6 @@ import axios from "axios"; -import { useSession } from "next-auth/react"; import { useRouter } from "next/router"; +import { useSession } from "next-auth/react"; import styled from "styled-components"; import Header from "../../components/layouts/Header"; diff --git a/pages/home/index.tsx b/pages/home/index.tsx index 4c67b0baa..10782349d 100644 --- a/pages/home/index.tsx +++ b/pages/home/index.tsx @@ -1,6 +1,6 @@ import { Box } from "@chakra-ui/react"; -import { useSession } from "next-auth/react"; import { useRouter, useSearchParams } from "next/navigation"; +import { useSession } from "next-auth/react"; import { useEffect } from "react"; import Slide from "../../components/layouts/PageSlide";