Skip to content

Commit

Permalink
tentative fix for sharp
Browse files Browse the repository at this point in the history
  • Loading branch information
jbilcke-hf committed Jul 27, 2024
1 parent 4dd5029 commit 6084b21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const nextConfig = {
webpack: (config) => {
config.resolve.alias = {
...config.resolve.alias,
"sharp$": false,
// "sharp$": false,
"onnxruntime-node$": false,
}
return config;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function ReactFlowCanvas() {
className="bg-transparent"
// TODO: the "light" / "dark" string should be
// defined in the theme, eg. colorMode={theme.mode}
colorMode="dark"
colorMode={theme.colorMode}
style={{
backgroundColor:
theme.workflow.bgColor || theme.defaultBgColor || '#000000',
Expand Down

0 comments on commit 6084b21

Please sign in to comment.