Skip to content

Commit af6807f

Browse files
committed
Cleanup unused variable
1 parent e337d4a commit af6807f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

python/jupytergis_core/src/jgisplugin/plugins.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,8 @@ const activate = async (
6161
window.jupytergisMaps = {};
6262
}
6363

64-
let settings: ISettingRegistry.ISettings | null = null;
65-
6664
try {
67-
settings = await settingRegistry.load(SETTINGS_ID);
65+
await settingRegistry.load(SETTINGS_ID);
6866
} catch (error) {
6967
console.warn(`Failed to load settings for ${SETTINGS_ID}`, error);
7068
}

0 commit comments

Comments
 (0)