chore(views/geomap): reintroduce map init

This commit is contained in:
Elian Doran
2025-07-06 11:36:59 +03:00
parent cd742a4617
commit 6a5bb1f5c8
4 changed files with 38 additions and 33 deletions

View File

@@ -49,7 +49,7 @@ export default abstract class ViewMode<T extends object> extends Component {
return this._viewStorage;
}
this._viewStorage = new ViewModeStorage(this.parentNote, this.viewType);
this._viewStorage = new ViewModeStorage<T>(this.parentNote, this.viewType);
return this._viewStorage;
}