mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
remove meaningless console log
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user