Skip to content

Commit

Permalink
Cleanup types
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrunyon committed May 8, 2024
1 parent c6e3c1a commit de163bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/dashboard-core-plugins/src/GridWidgetPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ export function GridWidgetPlugin(
props: WidgetComponentProps<dh.Table>
): JSX.Element | null {
const dh = useApi();
const settings = useSelector<
RootState,
RootState['workspace']['data']['settings']
>(getSettings);
const settings = useSelector(getSettings<RootState>);
const [model, setModel] = useState<IrisGridModel>();

const { fetch } = props;
Expand Down

0 comments on commit de163bf

Please sign in to comment.