Skip to content

Commit

Permalink
refactor: reload page
Browse files Browse the repository at this point in the history
  • Loading branch information
swgvenghy committed Aug 2, 2024
1 parent 0c2da62 commit 3b9358b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ui/components/molecule/user/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ interface HeaderProps {
}

const Header = ({ type }: HeaderProps) => {
const navigate = useNavigate();
const [menuOpen, setMenuOpen] = useState(false);

const handleRefreshClick = () => {
navigate('/');
window.location.reload();
console.log('새로고침');
};

Expand Down

0 comments on commit 3b9358b

Please sign in to comment.