💄 style: add logout confirmation popup UI

This commit is contained in:
2026-02-14 21:12:56 +07:00
parent 686d24084f
commit 9f0f5e9c55
4 changed files with 262 additions and 4 deletions

View File

@ -38,7 +38,7 @@ export const backendFetch = async (path: string, options: RequestInit = {}) => {
const resJson = (await res.json()) as BackendResponse;
if (!res.ok || !resJson.success) {
if (!res.ok) {
throw new Error(`Elysia error: ${resJson.error}`);
}