mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-13 18:28:38 +02:00
Update authentication hook for database debugging page
Refactor the DatabaseDebug page to use the `useAuthUnified` hook instead of `useAuthSimple`. Replit-Commit-Author: Agent Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/kdCs97W
This commit is contained in:
1 parent
1011c149a5
commit
69777558ef
2 files changed
+2
-2
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 263 KiB |
@@ -2,10 +2,10 @@ import { useState } from "react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { Database, Eye, Loader2 } from "lucide-react";
|
||||
import { useAuthSimple } from "@/hooks/useAuthSimple";
|
||||
import { useAuthUnified } from "@/hooks/useAuthUnified";
|
||||
|
||||
export default function DatabaseDebug() {
|
||||
const { user } = useAuthSimple();
|
||||
const { user } = useAuthUnified();
|
||||
const [isLoading, setIsLoading] = useState(false);
|
||||
const [result, setResult] = useState<any>(null);
|
||||
const [error, setError] = useState<string | null>(null);
|
||||
|
||||
Reference in new issue
Block a user