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
@@ -3,8 +3,8 @@
import { Classes } from '@blueprintjs/core';
import React, { useEffect, useState } from 'react';
import { useDispatch } from 'react-redux';
import SplitterLayout from 'react-splitter-layout';
import { useDispatch } from '../actions';
import Editor from '../editor/Editor';
import { useSelector } from '../reducers';
import { toggleBoolean } from '../settings/actions';