Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TeeGoood committed Jul 28, 2024
1 parent fc5f357 commit db9824b
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/app/(main)/home/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function Home() {
};

checkedIn();
}, []);
}, [user]);

const checkInConfirm = async () => {
if (!user) {
Expand Down
1 change: 0 additions & 1 deletion src/app/(main)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Footer from '@/components/(main)/Footer';
import BaanProvider from '@/context/BaanContext';
import React from 'react';

const layout = ({
Expand Down
2 changes: 1 addition & 1 deletion src/components/(main)/home/BaanResultModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const BaanResultModal: React.FC<BaanResultModalProps> = ({

return (
<div>
{!!baan ? (
{baan ? (
<BaseModal
variant="blue"
open={modal}
Expand Down
1 change: 0 additions & 1 deletion src/components/firstdate/MenuList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export default function MenuList({ isRewardPage }: TwoCircleMenuProps) {
);
}, [giftCondition, isRewardPage]);


return (
<div>
{giftCondition && isShowReward && (
Expand Down
2 changes: 0 additions & 2 deletions src/components/rpkm/Modal/BaanFullModal.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { useEffect } from 'react';

import BaseModal from '@/components/rpkm/Modal/BaseModal';
import ModalButton from '@/components/rpkm/Modal/ModalButton';
import modalStyles from '@/components/rpkm/Modal/ModalStyle';
Expand Down
2 changes: 1 addition & 1 deletion src/components/rpkm/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function Navbar() {
/>
</Link>
);
}, []);
}, [currentPath]);

return (
<div className="z-10 relative w-full">
Expand Down

0 comments on commit db9824b

Please sign in to comment.