Skip to content

Commit

Permalink
remove active joyride button (just for debug)
Browse files Browse the repository at this point in the history
  • Loading branch information
ojj1123 committed Nov 9, 2024
1 parent 5c1ce32 commit c47a420
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pageTemplates/home/HomeInitialSetting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function HomeInitialSetting() {
? session.user.name === "guest" || session.user.name === "게스트"
: undefined;

const [joyrideRun, setJoyrideRun] = useState(true);
const [joyrideRun, setJoyrideRun] = useState(false);

const [isGuestModal, setIsGuestModal] = useState(false);
const { data: userInfo } = useUserInfoQuery({
Expand Down Expand Up @@ -116,9 +116,6 @@ function HomeInitialSetting() {

return (
<>
<button type="button" onClick={() => setJoyrideRun(true)}>
active joyride
</button>
{userInfo && !isGuest && <UserSettingPopUp userInfo={userInfo} />}
{isGuestModal && <FAQPopUp setIsModal={setIsGuestModal} />}
<GlobalStyle />
Expand Down

0 comments on commit c47a420

Please sign in to comment.