Remove test timeout

This commit is contained in:
2024-11-23 16:05:54 +01:00
parent c561df7e3c
commit a347a77e11

View File

@@ -3,7 +3,6 @@ import { Outlet, useNavigate } from "react-router-dom";
import { client } from "../client"; import { client } from "../client";
import { useStore } from "../store"; import { useStore } from "../store";
import { Button } from "../styled/Button"; import { Button } from "../styled/Button";
import { timeout } from "../utils";
export function Root() { export function Root() {
@@ -16,7 +15,6 @@ export function Root() {
if (user !== null) return; if (user !== null) return;
const { data, error } = await client.me.get(); const { data, error } = await client.me.get();
await timeout(1000);
if (error !== null) { if (error !== null) {
navigate("/login"); navigate("/login");