Skip to content

Commit

Permalink
fixup! 🚧 Add types to tree component
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Oct 25, 2024
1 parent 0962aa8 commit 0d16114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tree/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import UnconnectedTree from "./tree";
import { RootState } from "../../store";
import { TreeComponentPropsFromState } from "./tree";

const mapStateToProps: MapStateToProps<TreeComponentPropsFromState, {}, RootState> = (state: RootState) => ({
const mapStateToProps: MapStateToProps<TreeComponentPropsFromState, Record<string, never>, RootState> = (state: RootState) => ({
tree: state.tree,
treeToo: state.treeToo,
selectedNode: state.controls.selectedNode,
Expand Down

0 comments on commit 0d16114

Please sign in to comment.