We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd9b360 commit a22e9dfCopy full SHA for a22e9df
src/pages/home/ui/MainPage.tsx
@@ -26,6 +26,11 @@ const MainPage = () => {
26
link: `/event-details/${event.id}`,
27
}));
28
29
+ const handleRefresh = () => {
30
+ navigate('/');
31
+ window.location.reload();
32
+ };
33
+
34
return (
35
<div className="flex flex-col items-center pb-24">
36
<Header
@@ -38,7 +43,7 @@ const MainPage = () => {
38
43
/>
39
44
}
40
45
leftButtonClassName="sm:text-lg md:text-xl lg:text-2xl font-extrabold font-nexon"
41
- leftButtonClick={() => {}}
46
+ leftButtonClick={handleRefresh}
42
47
leftButtonLabel="같이가요"
48
rightContent={
49
isLoggedIn ? (
0 commit comments