From 2ed6dd9de2bf30604c4bd44bef3b3130cded40b8 Mon Sep 17 00:00:00 2001 From: michaelschal <35957947-michaelschal@users.noreply.replit.com> Date: Wed, 8 Oct 2025 14:10:24 +0000 Subject: [PATCH] Remove the connect page button from the dashboard view Removes the "Connect page" button and its associated import from the managed-pages component. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/TXBOLMj --- client/src/components/managed-pages.tsx | 36 ++++++++----------------- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/client/src/components/managed-pages.tsx b/client/src/components/managed-pages.tsx index 6400d3a..a31334c 100644 --- a/client/src/components/managed-pages.tsx +++ b/client/src/components/managed-pages.tsx @@ -1,6 +1,5 @@ -import { Button } from "@/components/ui/button"; import { useQuery } from "@tanstack/react-query"; -import { Plus, Users } from "lucide-react"; +import { Users } from "lucide-react"; import { SiFacebook, SiInstagram } from "react-icons/si"; export default function ManagedPages() { @@ -24,25 +23,16 @@ export default function ManagedPages() { return (
-
-
-
- -
-
-

Pages gérées

-

- {(pages as any[])?.length || 0} page(s) connectée(s) -

-
+
+
+ +
+
+

Pages gérées

+

+ {(pages as any[])?.length || 0} page(s) connectée(s) +

-
@@ -92,11 +82,7 @@ export default function ManagedPages() {
-

Aucune page connectée

- +

Aucune page connectée

)}