EDIT - remove or condition

Signed-off-by: Damian Krysta <damian@krysta.dev>
This commit is contained in:
Damian Krysta 2022-02-05 23:38:09 +01:00 committed by Scott Lamb
parent f8ff07d2ad
commit 4d3d72c7b5
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ const Multiview = (props: MultiviewProps) => {
const [selected, updateSelected] = useReducer(
selectedReducer,
searchParams.has("cams")
? JSON.parse(searchParams.get("cams") || "")
? JSON.parse(searchParams.get("cams"))
: Array(MAX_CAMERAS).fill(null)
);