Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/web/hooks/use-autosave.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { useEffect, useRef, useCallback } from "react";

export function useAutosave(isDirty: boolean, onSave: () => Promise<void>, delay = 5000) {
const timerRef = useRef<ReturnType<typeof setTimeout>>();
const timerRef = useRef<ReturnType<typeof setTimeout> | undefined>(undefined);
const savingRef = useRef(false);

const save = useCallback(async () => {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/lib/auth/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const { handlers, auth, signIn, signOut } = NextAuth({
name: token.name as string | null,
displayName: (token.displayName as string | null) ?? null,
image: token.picture as string | null,
} satisfies SessionUser as typeof session.user;
} satisfies SessionUser as unknown as typeof session.user;
}
return session;
},
Expand Down
3 changes: 3 additions & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
"@trpc/client": "^11.0.0",
"@trpc/react-query": "^11.0.0",
"@trpc/server": "^11.0.0",
"adm-zip": "^0.5.16",
"bcryptjs": "^2.4.3",
"isomorphic-dompurify": "^2.0.0",
"lucide-react": "^0.462.0",
"next": "^15.5.15",
"next-auth": "5.0.0-beta.30",
"react": "^19.2.5",
Expand All @@ -32,6 +34,7 @@
},
"devDependencies": {
"@playwright/test": "^1.45.0",
"@types/adm-zip": "^0.5.5",
"@types/bcryptjs": "^2.4.0",
"@types/node": "^22.0.0",
"@types/react": "^19.2.14",
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
"devDependencies": {
"turbo": "^2.5.0"
},
"pnpm": {
"overrides": {
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3"
}
},
"keywords": [],
"author": "",
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions packages/blocks/src/blocks/heading.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { JSX } from "react";
import { z } from "zod";
import DOMPurify from "isomorphic-dompurify";
import { registerBlock } from "../registry";
Expand Down
7 changes: 6 additions & 1 deletion packages/core/src/theme/theme-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,11 @@ function resolveThemesDir(): string {
return THEMES_DIR;
}

function DefaultLayout({ children }: { children: React.ReactNode }) {
function DefaultLayout({
children,
}: {
children: React.ReactNode;
customizations: Record<string, unknown>;
}) {
return children;
}
66 changes: 44 additions & 22 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading