diff --git a/.gitignore b/.gitignore index 086306b..235185c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ node_modules /dist .mf /meta.json -/stats.html \ No newline at end of file +/stats.html +public/entry.worker.js \ No newline at end of file diff --git a/app/components/DocumentTitle.tsx b/app/components/DocumentTitle.tsx index b8bdbbf..91c6a9e 100644 --- a/app/components/DocumentTitle.tsx +++ b/app/components/DocumentTitle.tsx @@ -27,26 +27,24 @@ export function DocumentTitle() { className="flex justify-center items-center w-full" title={doc.title} > - setEditedTitle(e.target.value)} - /> + {match(editedTitle) - .with(doc.title, () => ( - - )) + .with(doc.title, () =>

Save

) .with("", () => (