Remove test timeout
This commit is contained in:
@@ -3,7 +3,6 @@ import { Outlet, useNavigate } from "react-router-dom";
|
||||
import { client } from "../client";
|
||||
import { useStore } from "../store";
|
||||
import { Button } from "../styled/Button";
|
||||
import { timeout } from "../utils";
|
||||
|
||||
export function Root() {
|
||||
|
||||
@@ -16,7 +15,6 @@ export function Root() {
|
||||
if (user !== null) return;
|
||||
|
||||
const { data, error } = await client.me.get();
|
||||
await timeout(1000);
|
||||
|
||||
if (error !== null) {
|
||||
navigate("/login");
|
||||
|
||||
Reference in New Issue
Block a user