Skip to content

Commit

Permalink
chore: remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
vnugent committed Nov 18, 2024
1 parent bb86ae0 commit 2e9524a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/broadcast/MiniAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ export const MiniAlert: React.FC<MiniAlertProps> = ({ message }) => {
const [showAlert, setShowAlert] = useState(false)
useEffect(() => {
const suppressed = Cookies.get(STORAGE_KEY)
console.log('#cookie value', suppressed)
setShowAlert(suppressed == null)
}, [])

console.log('## Alert state', message, showAlert)

return showAlert
? (
<div className='z-40 w-fit alert alert-info flex flex-wrap justify-center xl:p-4 gap-4'>
Expand Down

0 comments on commit 2e9524a

Please sign in to comment.