feat: added full definition of editor warning infrastructure
Everything is now defined architecturally, and can be implemented properly. ref: N25B-450
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
type XYPosition,
|
||||
} from '@xyflow/react';
|
||||
import '@xyflow/react/dist/style.css';
|
||||
import { editorWarningRegistry } from "./EditorWarnings.tsx";
|
||||
import type { FlowState } from './VisProgTypes';
|
||||
import {
|
||||
NodeDefaults,
|
||||
@@ -306,7 +307,8 @@ const useFlowStore = create<FlowState>(UndoRedo((set, get) => ({
|
||||
})
|
||||
return { ruleRegistry: registry };
|
||||
})
|
||||
}
|
||||
},
|
||||
...editorWarningRegistry,
|
||||
}))
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user