Skip to content

Commit

Permalink
Merge pull request #112 from hufs-sports-live/fix/cheer-delay
Browse files Browse the repository at this point in the history
Fix/cheer delay
  • Loading branch information
seongminn authored Nov 29, 2023
2 parents 6da952a + b382bfa commit 2dfaccd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export default function Home() {
onClick={() => setInParams(QUERY_PARAMS.status, 'playing')}
className={$(
'rounded-xl px-5 py-3 text-gray-5',
(params.get(QUERY_PARAMS.status) === 'playing' || null) &&
(params.get(QUERY_PARAMS.status) === 'playing' ||
params.get(QUERY_PARAMS.status) === null) &&
'bg-primary text-white',
)}
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default function Footer() {
return <div className="h-8"></div>;
return <div className="mt-14 h-8"></div>;
}
2 changes: 1 addition & 1 deletion src/components/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function Header() {
return (
<header
className={$(
'relative flex items-center justify-between p-4',
'relative mb-8 flex items-center justify-between p-4',
isAuthenticated && 'bg-primary text-white',
)}
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/match/CheerTeam/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function CheerTeam({
}: CheerTeamType) {
const [count, setCount] = useState(0);
const { mutate } = useCheerMutation({ matchId, gameTeamId });
const debouncedCount = useQueryDebounce<number>(count, 1000 * 5);
const debouncedCount = useQueryDebounce<number>(count, 1000);
const queryClient = useQueryClient();

useEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/match/CommentForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function CommentForm({
onChange={e => setInputValue(e.target.value)}
placeholder="응원하는 팀에 댓글을 남겨보세요!"
/>
<button className="rounded-xl bg-primary px-5 py-3 text-white">
<button className="whitespace-nowrap rounded-xl bg-primary px-5 py-3 text-white">
댓글
</button>
</div>
Expand Down

0 comments on commit 2dfaccd

Please sign in to comment.