- {(routines ?? []).length} routine{(routines ?? []).length === 1 ? "" : "s"}
+ {visibleRoutines.length} routine{visibleRoutines.length === 1 ? "" : "s"}
@@ -873,11 +877,11 @@ export function Routines() {
{activeTab === "routines" ? (
- {(routines ?? []).length === 0 ? (
+ {visibleRoutines.length === 0 ? (
) : (