instead of `isEmpty` what about `type === "work"`? maybe i needed to comment this function, though its used fetch all of the spreadsheets, then with the chosen spreadsheet id, its used again to fetch all the worksheets, where `type` is `"sheet"` or `"work"`