mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-20 05:28:22 +02:00
Remove the direct test button from the announcement card
Removes the 'Test Direct' button and its associated functionality from the AnnouncementCard component in the client. Replit-Commit-Author: Agent Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/aVFsaJG
This commit is contained in:
1 parent
6be4e2a0e4
commit
ff5908a731
1 file changed
-17
@@ -288,23 +288,6 @@ export default function AnnouncementCard() {
|
|||||||
>
|
>
|
||||||
Annuler
|
Annuler
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
|
||||||
type="button"
|
|
||||||
variant="secondary"
|
|
||||||
onClick={() => {
|
|
||||||
console.log('🔥 [TEST] Direct test button clicked');
|
|
||||||
const testData = {
|
|
||||||
title: "Test Direct",
|
|
||||||
content: "Test contenu direct",
|
|
||||||
priority: "normal" as const,
|
|
||||||
groupId: null,
|
|
||||||
};
|
|
||||||
console.log('🔥 [TEST] Test data:', testData);
|
|
||||||
createMutation.mutate(testData);
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
Test Direct
|
|
||||||
</Button>
|
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
disabled={createMutation.isPending}
|
disabled={createMutation.isPending}
|
||||||
|
|||||||
Reference in new issue
Block a user