Skip to content

Commit 017e4da

Browse files
committed
review
1 parent d35c724 commit 017e4da

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

apps/roam/src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ import {
4242
DISALLOW_DIAGNOSTICS,
4343
} from "./data/userSettings";
4444
import { initSchema } from "./components/settings/utils/init";
45-
import { setupPullWatchOnSettingsPage } from "./components/settings/utils/pullWatchers";
4645
export const DEFAULT_CANVAS_PAGE_FORMAT = "Canvas/*";
4746

4847
export default runExtension(async (onloadArgs) => {
@@ -155,8 +154,7 @@ export default runExtension(async (onloadArgs) => {
155154
});
156155
}
157156

158-
const { blockUids } = await initSchema();
159-
const cleanupPullWatchers = setupPullWatchOnSettingsPage(blockUids);
157+
await initSchema();
160158

161159
return {
162160
elements: [
@@ -168,7 +166,6 @@ export default runExtension(async (onloadArgs) => {
168166
],
169167
observers: observers,
170168
unload: () => {
171-
cleanupPullWatchers();
172169
setSyncActivity(false);
173170
window.roamjs.extension?.smartblocks?.unregisterCommand("QUERYBUILDER");
174171
// @ts-expect-error - tldraw throws a warning on multiple loads

0 commit comments

Comments
 (0)