diff --git a/components/FileListing.tsx b/components/FileListing.tsx index ece6fb8..c401bc3 100644 --- a/components/FileListing.tsx +++ b/components/FileListing.tsx @@ -217,7 +217,6 @@ const FileListing: FunctionComponent<{ query?: ParsedUrlQuery }> = ({ query }) = const genTotalSelected = (selected: { [key: string]: boolean }) => { const selectInfo = getFiles().map((c: any) => Boolean(selected[c.id])) const [hasT, hasF] = [selectInfo.some(i => i), selectInfo.some(i => !i)] - console.log(hasT, hasF) return hasT && hasF ? 1 : (!hasF ? 2 : 0) } const toggleItemSelected = (id: string) => {