Skip to content

Commit

Permalink
fix: update constraints in serve command
Browse files Browse the repository at this point in the history
  • Loading branch information
niekvanstaveren committed Feb 23, 2023
1 parent bfb9710 commit 0a1eba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/serve/web/components/Visualize/Visualize.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export default function Visualize() {

const handleConstraintsChange = (e, newValue) => {
setCurrentConstraints(newValue);
nebbie.context(getContstraints(newValue));
nebbie.context({ constraints: getContstraints(newValue) });
};

const toggleDarkMode = () => {
Expand Down

0 comments on commit 0a1eba6

Please sign in to comment.