diff --git a/web/src/routes/_layout/account.tsx b/web/src/routes/_layout/account.tsx index e663bab..84a51f8 100644 --- a/web/src/routes/_layout/account.tsx +++ b/web/src/routes/_layout/account.tsx @@ -2,7 +2,7 @@ import { useState } from "react"; import { queryOptions } from "@tanstack/react-query"; import { createFileRoute, Link, redirect } from "@tanstack/react-router"; -import { Download, Gamepad2, User } from "lucide-react"; +import { Download, Gamepad2, LogOut, User } from "lucide-react"; import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; import { Button } from "@/components/ui/button"; @@ -26,7 +26,7 @@ import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; import { getUser } from "@/lib/api"; -import { decodeTokenPayload, getToken } from "@/lib/auth"; +import { clearToken, decodeTokenPayload, getToken } from "@/lib/auth"; /** * Query options for retrieving the signed in user. @@ -84,7 +84,10 @@ function Component() {
Balance
€50.00
-