Commit 6084b21 1 parent 4dd5029 commit 6084b21 Copy full SHA for 6084b21
File tree 2 files changed +2
-2
lines changed
src/components/editors/WorkflowEditor/WorkflowViewer/ReactFlowCanvas
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const nextConfig = {
21
21
webpack : ( config ) => {
22
22
config . resolve . alias = {
23
23
...config . resolve . alias ,
24
- "sharp$" : false ,
24
+ // "sharp$": false,
25
25
"onnxruntime-node$" : false ,
26
26
}
27
27
return config ;
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export function ReactFlowCanvas() {
54
54
className = "bg-transparent"
55
55
// TODO: the "light" / "dark" string should be
56
56
// defined in the theme, eg. colorMode={theme.mode}
57
- colorMode = "dark"
57
+ colorMode = { theme . colorMode }
58
58
style = { {
59
59
backgroundColor :
60
60
theme . workflow . bgColor || theme . defaultBgColor || '#000000' ,
You can’t perform that action at this time.
0 commit comments