webamp/js/components/MainWindow/Khz.tsx
Jordan Eldredge d8b33e4795 Start using react redux hooks (#845)
* Upgrade react-redux

* Upgrade react-redux types

* Start adopting react-redux hooks
2019-11-30 13:42:53 -08:00

16 lines
378 B
TypeScript

import React from "react";
import CharacterString from "../CharacterString";
import * as Selectors from "../../selectors";
import { useTypedSelector } from "../../hooks";
const Khz = React.memo(() => {
const khz = useTypedSelector(Selectors.getKhz);
return (
<div id="khz">
<CharacterString>{khz || ""}</CharacterString>
</div>
);
});
export default Khz;