refactor: use custom toast from @ciphera-net/ui

This commit is contained in:
Usman Baig
2026-01-27 21:52:11 +01:00
parent d9c3294eeb
commit 1114b0d27a
9 changed files with 10 additions and 28 deletions

View File

@@ -4,7 +4,7 @@ import { useEffect, useState } from 'react'
import { useParams, useRouter } from 'next/navigation'
import { getSite, type Site } from '@/lib/api/sites'
import { getRealtimeVisitors, getSessionDetails, type Visitor, type SessionEvent } from '@/lib/api/realtime'
import { toast } from 'sonner'
import { toast } from '@ciphera-net/ui'
import { LoadingOverlay } from '@ciphera-net/ui'
function formatTimeAgo(dateString: string) {