Implement basic visualizer with new-style react-redux

This commit is contained in:
Tristan Daniël Maat 2022-08-06 18:01:59 +01:00
parent 02d0e5142b
commit 3788e377d9
Signed by: tlater
GPG key ID: 49670FD774E43268
18 changed files with 298 additions and 580 deletions

5
src/music/hooks.ts Normal file
View file

@ -0,0 +1,5 @@
import { TypedUseSelectorHook, useDispatch, useSelector } from "react-redux";
import type { RootState, AppDispatch } from "./store";
export const useAppDispatch: () => AppDispatch = useDispatch;
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;