-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
๐Style(#246): Spinner ์ ์ฉ #247
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๊ณ ์ํ์ จ์ต๋๋ค!
@@ -150,7 +150,7 @@ const SteadyDetailPage = ({ params }: { params: PageParams }) => { | |||
</div> | |||
} | |||
> | |||
<Suspense fallback={<Spinner size="medium" />}> | |||
<Suspense fallback={<Spinner size="large" />}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Large ์คํผ๋๊ฐ ๋๋์ด ์ฐ์์๋ฅผ ์ฐพ์๊ตฐ์.. ๊ฐ๊ฒฉ..
<div className={cn("mb-30")}>{children}</div> | ||
<div className="pb-30">{children}</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ค ์ด๋ค ์ฐจ์ด๊ฐ ์์๋์?
queryKey: ["userProfile", userId], | ||
queryKey: getUserProfileKey(userId), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๐
src/constants/queryKeys.ts
Outdated
@@ -56,3 +56,6 @@ export const StacksKey = ["stacks"]; | |||
|
|||
// Review | |||
export const MyReviewKey = ["myreview"]; | |||
|
|||
// User | |||
export const getUserProfileKey = (userId: number) => ["userProfile", userId]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ข์ ๊ธฐ๋ฅ์ ์ ๊ณตํ์ง๋ง ํจ์๋ช ์ด data fetching ๊ณ์ด์ ํจ์๋ค๊ณผ ๊ฐ์์ ํผ๋์ด ์์ ์ ์๊ฒ ๋ค์ ใ ใ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๋ง์์ ใ ใ ๊ทธ๋์ ์ ๋ฏธ์ฌ๋ฅผ Key๋ก ํต์ผํ์ต๋๋ค!
๐ ๊ตฌํ ์ฌํญ
_2023_11_23_23_44_56_145.mp4
๐ง ํน์ด ์ฌํญ
๐จ๊ด๋ จ ์ด์
close #246