chore: add prettier with config and format all files
This commit is contained in:
@@ -48,8 +48,8 @@ function DashboardApp() {
|
||||
const searchParams = useSearchParams();
|
||||
const token = searchParams.get('token') ?? '';
|
||||
|
||||
const [ready, setReady] = useState(false);
|
||||
const [alerts, setAlerts] = useState<AlertConfig[]>([]);
|
||||
const [ready, setReady] = useState(false);
|
||||
const [alerts, setAlerts] = useState<AlertConfig[]>([]);
|
||||
const [localeMap, setLocaleMap] = useState<LocaleMap>(new Map());
|
||||
|
||||
useEffect(() => {
|
||||
@@ -72,9 +72,7 @@ function DashboardApp() {
|
||||
|
||||
if (!ready) {
|
||||
return (
|
||||
<div className="flex min-h-screen items-center justify-center text-gray-400">
|
||||
Loading…
|
||||
</div>
|
||||
<div className="flex min-h-screen items-center justify-center text-gray-400">Loading…</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -91,4 +89,4 @@ export default function Page() {
|
||||
<DashboardApp />
|
||||
</Suspense>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user