feat: init routes protection

This commit is contained in:
swve 2023-04-10 19:59:50 +02:00
parent 49b6d1dfe7
commit 1ad8ee12b1
25 changed files with 82 additions and 64 deletions

View file

@ -4,7 +4,7 @@ import React from "react";
import { Title } from "../../components/UI/Elements/Styles/Title";
import { deleteOrganizationFromBackend } from "@services/organizations/orgs";
import useSWR, { mutate } from "swr";
import { swrFetcher } from "@services/utils/requests";
import { swrFetcher } from "@services/utils/ts/requests";
import { getAPIUrl, getUriWithOrg } from "@services/config/config";
import AuthProvider from "@components/Security/AuthProvider";