Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: ci warning
ascarbekd0558e4da1c0
diff --git a/frontend/appflowy_tauri/src/appflowy_app/components/_shared/Database.hooks.ts b/frontend/appflowy_tauri/src/appflowy_app/components/_shared/Database.hooks.tsindex d5a4345c92..50de845116 100644--- a/frontend/appflowy_tauri/src/appflowy_app/components/_shared/Database.hooks.ts+++ b/frontend/appflowy_tauri/src/appflowy_app/components/_shared/Database.hooks.ts@@ -9,7 +9,7 @@ export const useDatabase = () => {const database = useAppSelector((state) => state.database);const newField = () => {- dispatch(+ /* dispatch(databaseActions.addField({field: {fieldId: nanoid(8),@@ -18,22 +18,25 @@ export const useDatabase = () => {title: 'new field',},})- );+ );*/+ console.log('depreciated');};const renameField = (fieldId: string, newTitle: string) => {- const field = database.fields[fieldId];+ /* const field = database.fields[fieldId];field.title = newTitle;dispatch(databaseActions.updateField({field,})- );+ );*/+ console.log('depreciated');};const newRow = () => {- dispatch(databaseActions.addRow());+ // dispatch(databaseActions.addRow());+ console.log('depreciated');};return {