Add CheckIcon component and update routes, auth store, and various UI improvements

This commit is contained in:
2026-01-05 01:06:17 +07:00
parent aa9df98926
commit 22af8c4f2b
12 changed files with 155 additions and 120 deletions

View File

@@ -164,7 +164,6 @@ const login = async (username: string, password: string) => {
};
async function checkAuth() {
console.log("Check auth called");
const context = getContext<HonoVarTypes>();
const token = getCookie(context, 'auth_token');
@@ -183,7 +182,6 @@ async function checkAuth() {
if (!userRecord) {
return { authenticated: false, user: null };
}
// console.log("Check auth called 2", userRecord);
return {
authenticated: true,