Skip to content

Commit 6084b21

Browse files
committed
tentative fix for sharp
1 parent 4dd5029 commit 6084b21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

next.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const nextConfig = {
2121
webpack: (config) => {
2222
config.resolve.alias = {
2323
...config.resolve.alias,
24-
"sharp$": false,
24+
// "sharp$": false,
2525
"onnxruntime-node$": false,
2626
}
2727
return config;

src/components/editors/WorkflowEditor/WorkflowViewer/ReactFlowCanvas/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function ReactFlowCanvas() {
5454
className="bg-transparent"
5555
// TODO: the "light" / "dark" string should be
5656
// defined in the theme, eg. colorMode={theme.mode}
57-
colorMode="dark"
57+
colorMode={theme.colorMode}
5858
style={{
5959
backgroundColor:
6060
theme.workflow.bgColor || theme.defaultBgColor || '#000000',

0 commit comments

Comments
 (0)