mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-24 02:36:00 +00:00
16 lines
384 B
TypeScript
16 lines
384 B
TypeScript
import React from "react";
|
|
|
|
import CharacterString from "../CharacterString";
|
|
import * as Selectors from "../../selectors";
|
|
import { useTypedSelector } from "../../hooks";
|
|
|
|
const Kbps = React.memo(() => {
|
|
const kbps = useTypedSelector(Selectors.getKbps);
|
|
return (
|
|
<div id="kbps">
|
|
<CharacterString>{kbps || ""}</CharacterString>
|
|
</div>
|
|
);
|
|
});
|
|
|
|
export default Kbps;
|