From 0ed01bee20c50e435918698fcd95891fb5cebc28 Mon Sep 17 00:00:00 2001 From: Sasha Date: Thu, 23 Nov 2023 16:55:24 +0100 Subject: [PATCH] add export --- examples/share-notes/next.config.js | 1 + examples/share-notes/src/app/page.tsx | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/share-notes/next.config.js b/examples/share-notes/next.config.js index 26a5076..6113d20 100644 --- a/examples/share-notes/next.config.js +++ b/examples/share-notes/next.config.js @@ -1,5 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + output: "export", async rewrites() { return [ { diff --git a/examples/share-notes/src/app/page.tsx b/examples/share-notes/src/app/page.tsx index a985b94..6f087b9 100644 --- a/examples/share-notes/src/app/page.tsx +++ b/examples/share-notes/src/app/page.tsx @@ -4,10 +4,6 @@ import React from "react"; import { useRouter } from "next/navigation"; import { notes } from "@/services/notes"; -// EgeLwHNbSwIzIz3M -// 3gxFeAHa8sOvTymg - -// encrypted nkt698RhpWory0yT export default function Create() { const router = useRouter(); const { note, onNoteChange } = useEditNote();