chore: snapshot before performance optimization

This commit is contained in:
Sepehr Ramezani
2026-04-17 21:14:43 +02:00
parent b6a548acd8
commit 2eceb32fd4
95 changed files with 4357 additions and 1942 deletions

View File

@@ -0,0 +1,11 @@
with open('hooks/use-auto-tagging.ts', 'r') as f:
content = f.read()
# Make sure we add `const { language } = useLanguage();`
content = content.replace(
'export function useAutoTagging({ content, notebookId, enabled = true }: UseAutoTaggingProps) {',
'export function useAutoTagging({ content, notebookId, enabled = true }: UseAutoTaggingProps) {\n const { language } = useLanguage();'
)
with open('hooks/use-auto-tagging.ts', 'w') as f:
f.write(content)