Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
fix: 残骸削除
Browse files Browse the repository at this point in the history
  • Loading branch information
hato810424 committed Apr 8, 2024
1 parent 43fb7e6 commit 6cf55b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions pages/PageContext.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import type { AuthUser } from "@hono/auth-js";
import type { User } from "lucia";

// https://vike.dev/pageContext#typescript
declare global {
namespace Vike {
interface PageContext {
time: Date,
auth: AuthUser
auth: User
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion pages/account/+Page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default Page

import { navigate, reload } from "vike/client/router";
import { reload } from "vike/client/router";
import { usePageContext } from "../../renderer/usePageContext";
import { hc } from "hono/client";

Expand Down

0 comments on commit 6cf55b7

Please sign in to comment.