diff --git a/src/components/common/Header.jsx b/src/components/common/Header.jsx index 970440e..88f01cc 100644 --- a/src/components/common/Header.jsx +++ b/src/components/common/Header.jsx @@ -69,9 +69,9 @@ const Header = () => { open={openConfirmDialog} onClose={() => setOpenConfirmDialog(false)} onConfirm={async () => { - navigate('/'); + setOpenConfirmDialog(false); await handleSignOut(); - onClose(); + navigate('/'); }} title="Confirm Sign Out" description="Are you sure you want to sign out?"