@@ -116,24 +119,26 @@ export default function DashboardGrid({
) : null}
{widgets.length > 0 ? (
-
onLayoutChange(normalizeLayout(nextLayout))}
+ onBreakpointChange={handleBreakpointChange}
+ onLayoutChange={handleLayoutChange}
>
{widgets.map((widget) => (
))}
-
+
) : null}
);
diff --git a/tsconfig.json b/tsconfig.json
index ba57f84..c846c79 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -15,7 +15,7 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
- "jsx": "preserve",
+ "jsx": "react-jsx",
"incremental": true,
"plugins": [
{
@@ -32,7 +32,8 @@
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
- ".next/types/**/*.ts"
+ ".next/types/**/*.ts",
+ ".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules",