actions: drop typed dispatch

This doesn't provide much benefit and is just one more rule to remember,
so we can do without it.
This commit is contained in:
David Lechner
2022-02-24 17:16:52 -06:00
parent e4b7a9aec7
commit cf8744a6cd
12 changed files with 11 additions and 23 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
// Copyright (c) 2020-2021 The Pybricks Authors
import React from 'react';
import { useDispatch } from '../actions';
import { useDispatch } from 'react-redux';
import { BleConnectionState } from '../ble/reducers';
import { BootloaderConnectionState } from '../lwp3-bootloader/reducers';
import * as notificationActions from '../notifications/actions';