accounts/**

This commit is contained in:
Karol Wypchlo 2021-02-25 11:13:04 +01:00
parent 632f7a5ba7
commit 0996f9f265
2 changed files with 6 additions and 2 deletions

View File

@ -42,6 +42,9 @@
methods:
- GET
- POST
- PUT
- DELETE
- PATCH
authenticators:
- handler: cookie_session
authorizer:
@ -67,6 +70,8 @@
- GET
- POST
- PUT
- DELETE
- PATCH
authenticators:
- handler: cookie_session
authorizer:

View File

@ -1,4 +1,3 @@
import dayjs from "dayjs";
import Layout from "../components/Layout";
import useSWR from "swr";
import ky from "ky/umd";
@ -35,7 +34,7 @@ const fetcher = (url) => fetch(url).then((r) => r.json());
const ActiveBadge = () => {
return (
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs bg-green-100 text-green-800 ml-3">
<span className="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs bg-green-100 text-green-800 ml-3">
active
</span>
);