From 17d0d9f1e0d706308ea6363926bb45fa5a6de1cd Mon Sep 17 00:00:00 2001 From: DispatchCommit Date: Sun, 14 Mar 2021 00:36:02 -0800 Subject: [PATCH] default livestream calims state to empty array --- ui/page/livestream/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/page/livestream/view.jsx b/ui/page/livestream/view.jsx index f894234be..251e5aaa7 100644 --- a/ui/page/livestream/view.jsx +++ b/ui/page/livestream/view.jsx @@ -61,7 +61,7 @@ export default function CreatorDashboardPage(props: Props) { const [isFetching, setIsFetching] = React.useState(true); const [isLive, setIsLive] = React.useState(false); const [livestreamClaim, setLivestreamClaim] = React.useState(false); - const [livestreamClaims, setLivestreamClaims] = React.useState(false); + const [livestreamClaims, setLivestreamClaims] = React.useState([]); React.useEffect(() => { if (!activeChannelClaimStr) return;