Skip to content

Commit

Permalink
fix: _.$updateState has been replaced by _.$updateContext
Browse files Browse the repository at this point in the history
  • Loading branch information
KermanX committed Dec 17, 2023
1 parent fa5651b commit ea9a12f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/northstar/src/app.r.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ setAutoSaveInterval();
initMonaco();

app.use(FluentUI).use(Vf).use(Basics).use(Monaco)(_ => {
if (_.$updateState) {
if (_.$updateContext) {
_.$root.addCls(`fixed top-0 left-0 right-0 bottom-0`);
}

Expand Down Expand Up @@ -86,7 +86,7 @@ app.use(FluentUI).use(Vf).use(Basics).use(Monaco)(_ => {
_.$ref(graphElRef) &&
_._div({}, _ => _.vfGraph(currentProject.activeGraph));

if (_.$updateState)
if (_.$updateContext)
_.$window.addEventListener("keydown", ev => {
if (ev.ctrlKey) {
if (ev.key === "z" && currentProject.activeGraph.canUndo) {
Expand Down

0 comments on commit ea9a12f

Please sign in to comment.