This commit is contained in:
2025-08-24 13:59:16 -04:00
parent 3347452ec4
commit 9b918b1c6a
3 changed files with 17 additions and 10 deletions

View File

@@ -6,10 +6,13 @@ import pkg from "../package.json";
import "./style.css";
import api from "./api";
import Cookies from "js-cookie";
import { mePromise } from "./profile";
const Profile = () => {
let dialogRef!: HTMLDialogElement;
const [profile] = createResource(async () => api.profile.get());
const [profile] = createResource(() =>
mePromise.then(() => api.profile.get())
);
return (
<>