Code refactoring, renabled app title customization.

With React 19 header title API title doesn't need react-helmet anymore :)
This commit is contained in:
2025-01-13 10:49:55 +01:00
parent 6f0187bccc
commit 160a2721f9
3 changed files with 5 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ const ExtraDownloadOptions: React.FC = () => {
autoHighlight
defaultValue={
customTemplates
.filter(({ id, name }) => id === "0" || name === "default")
.filter(({ id, name }) => id === "0" || name.toLowerCase() === "default")
.map(({ name, content }) => ({ label: name, content }))
.at(0)
}