diff --git a/@types/nextjs-routes.d.ts b/@types/nextjs-routes.d.ts
index 1ab2b2e..bb26cc6 100644
--- a/@types/nextjs-routes.d.ts
+++ b/@types/nextjs-routes.d.ts
@@ -14,7 +14,7 @@ declare module "nextjs-routes" {
| StaticRoute<"/">
| DynamicRoute<"/event/[slug]/preview", { "slug": string }>
| DynamicRoute<"/event/[slug]/settings", { "slug": string }>
- | StaticRoute<"/object">;
+ | StaticRoute<"/object">
| DynamicRoute<"/rejestracja/[participationSlug]", { "participationSlug": string }>
| DynamicRoute<"/rejestracja/[participationSlug]/[blockId]/[reservationId]", { "participationSlug": string; "blockId": string; "reservationId": string }>
| DynamicRoute<"/rejestracja/[participationSlug]/[blockId]/formularz", { "participationSlug": string; "blockId": string }>;
diff --git a/knip.ts b/knip.ts
index d4a3c5b..f7175da 100644
--- a/knip.ts
+++ b/knip.ts
@@ -6,6 +6,7 @@ const config = {
"src/lib/types.ts",
"postcss.config.mjs",
"lint-staged.config.mjs",
+ "src/components/Block.tsx",
],
// sharp is used in nextjs image optimization
// slick carousel is used scss files
diff --git a/src/pages/event/[slug]/preview.tsx b/src/pages/event/[slug]/preview.tsx
index b22ad40..eac647b 100644
--- a/src/pages/event/[slug]/preview.tsx
+++ b/src/pages/event/[slug]/preview.tsx
@@ -296,6 +296,16 @@ const Preview = ({
+
Ogólne
Udostępnianie
- Personalizacja
- Inne
+ {/* Personalizacja */}
+ {/* Inne */}
-
+
+
+ {isClient ? (
+
+ ) : null}
+
+
+
+ {/*
*/}
+ {/*
@@ -332,7 +369,7 @@ export default function Dashboard({
id="people-limit-per-sector"
placeholder="2"
/>
-
+ */}
diff --git a/src/pages/object.tsx b/src/pages/object.tsx
index cfe6f54..3c1ef96 100644
--- a/src/pages/object.tsx
+++ b/src/pages/object.tsx
@@ -29,7 +29,7 @@ export default function Event() {
{selectedObject === null ? (
<>
-
+
@@ -65,7 +65,7 @@ export default function Event() {
>
) : (
<>
-
+
{
@@ -133,7 +133,7 @@ export default function Event() {
Odklinij, aby zobaczyć mniej