+
+
WhatsApp Instances
+
+
+
+
-
- {/* Form to create a new instance */}
-
-
- {/* Stats component */}
-
-
- {/* List of created instances */}
-
-
- {/* QR Code Dialog */}
-
+
+
+
+ {activeInstance && (
+
+ )}
);
diff --git a/src/services/userService.ts b/src/services/userService.ts
new file mode 100644
index 0000000..986f228
--- /dev/null
+++ b/src/services/userService.ts
@@ -0,0 +1,62 @@
+
+import { supabase } from "@/integrations/supabase/client";
+import { format } from "date-fns";
+
+export interface UserInfo {
+ id: string;
+ nome: string;
+ email: string;
+ empresa: string | null;
+ created_at: string;
+}
+
+export const getUsersRegisteredToday = async (): Promise