diff --git a/.eslintrc.json b/.eslintrc.json index b624891a..3b6ee3c3 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -20,6 +20,12 @@ "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/no-empty-function": "off", "react-hooks/rules-of-hooks": "error", - "react-hooks/exhaustive-deps": "warn" + "react-hooks/exhaustive-deps": "warn", + "prettier/prettier": [ + "error", + { + "endOfLine": "auto" + } + ] } } diff --git a/.gitignore b/.gitignore index 0eb1cd16..c64a028b 100644 --- a/.gitignore +++ b/.gitignore @@ -39,4 +39,6 @@ next-env.d.ts .vscode/ # __generated__ -src/__generated__/open-api-specification.json \ No newline at end of file +src/__generated__/open-api-specification.json + +install-state.gz \ No newline at end of file diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index 337b0916..96a39a54 100644 Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ diff --git a/pages/post/index.tsx b/pages/post/index.tsx index 8c0fed7a..0eec2a56 100644 --- a/pages/post/index.tsx +++ b/pages/post/index.tsx @@ -1,35 +1,35 @@ -import FeedPostViewer from '@components/feed/FeedPostViewer/FeedPostViewer'; -import Loader from '@components/loader/Loader'; -import { useRouter } from 'next/router'; -import { useToast } from '@sopt-makers/ui'; -import { useMutation } from '@tanstack/react-query'; -import { apiV2 } from '@api/index'; -import FeedCommentInput from '@components/feed/FeedCommentInput/FeedCommentInput'; +import { paths } from '@/__generated__/schema2'; +import { ampli } from '@/ampli'; +import { useQueryGetMeeting } from '@api/API_LEGACY/meeting/hooks'; import { useQueryMyProfile } from '@api/API_LEGACY/user/hooks'; +import { apiV2 } from '@api/index'; +import { PostCommentWithMentionRequest } from '@api/mention'; +import { useMutationPostCommentWithMention } from '@api/mention/hooks'; import { useInfinitePosts, useMutationPostLike, useMutationUpdateLike, useQueryGetPost } from '@api/post/hooks'; +import LikeButton from '@components/button/LikeButton'; +import FeedActionButton from '@components/feed/FeedActionButton/FeedActionButton'; +import FeedCommentContainer from '@components/feed/FeedCommentContainer/FeedCommentContainer'; +import FeedCommentInput from '@components/feed/FeedCommentInput/FeedCommentInput'; import FeedCommentLikeSection from '@components/feed/FeedCommentLikeSection/FeedCommentLikeSection'; +import FeedPostViewer from '@components/feed/FeedPostViewer/FeedPostViewer'; +import { MentionContext } from '@components/feed/Mention/MentionContext'; +import FeedEditModal from '@components/feed/Modal/FeedEditModal'; +import Loader from '@components/loader/Loader'; +import ConfirmModal from '@components/modal/ConfirmModal'; +import FeedItem from '@components/page/meetingDetail/Feed/FeedItem'; +import MeetingInfo from '@components/page/meetingDetail/Feed/FeedItem/MeetingInfo'; +import { TAKE_COUNT } from '@constants/feed'; import useComment from '@hooks/useComment/useComment'; -import { useIntersectionObserver } from '@hooks/useIntersectionObserver'; import useCommentMutation from '@hooks/useComment/useCommentMutation'; -import FeedCommentContainer from '@components/feed/FeedCommentContainer/FeedCommentContainer'; -import { paths } from '@/__generated__/schema2'; -import FeedActionButton from '@components/feed/FeedActionButton/FeedActionButton'; -import { useOverlay } from '@hooks/useOverlay/Index'; -import ConfirmModal from '@components/modal/ConfirmModal'; -import { styled } from 'stitches.config'; -import FeedEditModal from '@components/feed/Modal/FeedEditModal'; -import { ampli } from '@/ampli'; -import { useQueryGetMeeting } from '@api/API_LEGACY/meeting/hooks'; -import React, { useContext, useEffect, useRef } from 'react'; import { useDisplay } from '@hooks/useDisplay'; -import FeedItem from '@components/page/meetingDetail/Feed/FeedItem'; +import { useIntersectionObserver } from '@hooks/useIntersectionObserver'; +import { useOverlay } from '@hooks/useOverlay/Index'; +import { useToast } from '@sopt-makers/ui'; +import { useMutation } from '@tanstack/react-query'; import Link from 'next/link'; -import LikeButton from '@components/button/LikeButton'; -import { TAKE_COUNT } from '@constants/feed'; -import { PostCommentWithMentionRequest } from '@api/mention'; -import { useMutationPostCommentWithMention } from '@api/mention/hooks'; -import MeetingInfo from '@components/page/meetingDetail/Feed/FeedItem/MeetingInfo'; -import { MentionContext } from '@components/feed/Mention/MentionContext'; +import { useRouter } from 'next/router'; +import React, { useContext, useEffect, useRef } from 'react'; +import { styled } from 'stitches.config'; export default function PostPage() { const commentRef = useRef(null); diff --git a/src/components/page/meetingList/Advertisement/AdCarouselDotBtn.tsx b/src/components/page/meetingList/Advertisement/AdCarouselDotBtn.tsx index 8d0455a5..36ea656c 100644 --- a/src/components/page/meetingList/Advertisement/AdCarouselDotBtn.tsx +++ b/src/components/page/meetingList/Advertisement/AdCarouselDotBtn.tsx @@ -69,7 +69,7 @@ const SDotButton = styled('button', { borderRadius: '10px', '&.embla__dot--selected': { boxShadow: '$inset $textBody', - backgroundColor: 'white', + backgroundColor: '$gray50', opacity: '1', }, });