Skip to content

Commit

Permalink
fix dark mode issue for canSum
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-may committed Sep 16, 2024
1 parent bd3cd7a commit 766498d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/Node2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ interface NodeCircleProps {

const NodeCircle: React.FC<NodeCircleProps> = React.memo(
({ node, dimensions, theme, clickedValue, handleClick }) => {
console.log(theme);
return (
<>
<circle
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tree2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const Tree2: React.FC = () => {
dimensions={localDimensions}
clickedValue={clickedValue}
handleClick={handleClick}
theme={""}
theme={theme}
/>
)}
</svg>
Expand Down

0 comments on commit 766498d

Please sign in to comment.