Remove unused function call in App.tsx

This commit is contained in:
2026-01-31 19:11:15 +01:00
parent 00613f60d5
commit e3dc293f81

View File

@@ -671,7 +671,6 @@ export default function App() {
const currentTitle = texts.find((text) => text.id === textId)?.title ?? "";
clearTextEditing();
if (nextTitle === currentTitle) return;
applyTitleUpdate(textId, nextTitle);
if (selectedTextId === textId) {
setTitle(nextTitle);
setLastPersistedTitle(nextTitle);
@@ -679,7 +678,6 @@ export default function App() {
await updateTextTitle(textId, nextTitle);
await refreshTexts();
}, [
applyTitleUpdate,
clearTextEditing,
editingTextId,
editingTextTitle,