actions: added typed useDispatch() hook

This commit is contained in:
David Lechner
2021-12-27 18:01:51 -06:00
parent 8d26f768bf
commit 54ec447061
12 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -19,8 +19,8 @@ import {
import { Tooltip2 } from '@blueprintjs/popover2';
import { useI18n } from '@shopify/react-i18n';
import React, { useMemo, useState } from 'react';
import { useDispatch } from 'react-redux';
import AboutDialog from '../about/AboutDialog';
import { useDispatch } from '../actions';
import { checkForUpdate, installPrompt, reload } from '../app/actions';
import {
pybricksBugReportsUrl,