File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/components/app/layers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,6 @@ export const AppBusinessLayer: React.FC<AppBusinessLayerProps> = ({ children })
6565 // Initialize page operations
6666 const pageOperations = usePageOperations ( { outline, loadOutline } ) ;
6767
68- // Initialize database operations
69- const databaseOperations = useDatabaseOperations ( loadView , createRowDoc ) ;
70-
7168 // Check if current view has been deleted
7269 const viewHasBeenDeleted = useMemo ( ( ) => {
7370 if ( ! viewId ) return false ;
@@ -207,6 +204,9 @@ export const AppBusinessLayer: React.FC<AppBusinessLayerProps> = ({ children })
207204 [ pageOperations , loadTrash ]
208205 ) ;
209206
207+ // Initialize database operations
208+ const databaseOperations = useDatabaseOperations ( enhancedLoadView , createRowDoc ) ;
209+
210210 // Business context value
211211 const businessContextValue : BusinessInternalContextType = useMemo (
212212 ( ) => ( {
You can’t perform that action at this time.
0 commit comments