mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 15:49:09 +03:00
Fix wrong logic in NotificationsPopover
This commit is contained in:
1 parent
f3008f17d1
commit
7367a7af1f
1 file changed
+1
-5
@@ -238,13 +238,9 @@ const NotificationsPopover = ({ alt = false }: NotificationsPopoverProps) => {
|
||||
<Tooltip.Root delayDuration={0}>
|
||||
<Tooltip.Trigger asChild>
|
||||
<div className="relative flex items-center">
|
||||
{/* hasNewNotifications */}
|
||||
{true && (
|
||||
{hasNewNotifications && (
|
||||
<>
|
||||
{alt ? null : (
|
||||
// <div className="translate-x-[10px] z-10 h-4 w-4 flex items-center justify-center rounded-full bg-white">
|
||||
// <p className="text-xs text-scale-100">5</p>
|
||||
// </div>
|
||||
<div className="absolute -top-1 -right-1 z-50 flex h-3 w-3 items-center justify-center">
|
||||
<div className="h-full w-full animate-ping rounded-full bg-green-800 opacity-60"></div>
|
||||
<div className="z-60 absolute top-0 right-0 h-full w-full rounded-full bg-green-900 opacity-80"></div>
|
||||
|
||||
Reference in new issue
Block a user