change(ui): fixes for type
This commit is contained in:
parent
e5a93d4ca0
commit
1afd130c90
1 changed files with 2 additions and 2 deletions
|
|
@ -128,8 +128,7 @@ export function renderDuration(r: any) {
|
|||
);
|
||||
}
|
||||
|
||||
function renderStatus({ status }) {
|
||||
|
||||
function renderStatus({ status }: { status: string }) {
|
||||
return (
|
||||
<>
|
||||
{parseInt(status, 10) === 200 ? (
|
||||
|
|
@ -143,6 +142,7 @@ function renderStatus({ status }) {
|
|||
</>
|
||||
)
|
||||
}
|
||||
|
||||
function NetworkPanel({ startedAt }: { startedAt: number }) {
|
||||
const { player, store } = React.useContext(PlayerContext)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue