fixing sign out issues
This commit is contained in:
@@ -82,8 +82,6 @@ export default function Header() {
|
||||
|
||||
try {
|
||||
await logOut();
|
||||
|
||||
router.push("/teams/landing");
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
toast.error("Unable to log out!");
|
||||
|
||||
@@ -41,8 +41,24 @@ export default function PowerPlayer(props: {
|
||||
handleAddAudioToQueue([url]);
|
||||
}
|
||||
|
||||
function handleClose(e) {
|
||||
props.handleCloseModal();
|
||||
}
|
||||
|
||||
return (
|
||||
<Modal title="Power Playback " visible={props.show}>
|
||||
<Modal
|
||||
title="Power Playback "
|
||||
visible={props.show}
|
||||
onCancel={handleClose}
|
||||
footer={
|
||||
<button
|
||||
onClick={handleClose}
|
||||
className="ml-auto text-sm text-orange-500 font-semibold py-1 px-4 bg-gray-200 rounded"
|
||||
>
|
||||
👋 Close
|
||||
</button>
|
||||
}
|
||||
>
|
||||
<span className="flex flex-col items-start">
|
||||
<span>One timeline to listen to the past 24 hours.</span>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user