From 3e8d03de6db4c5a474c3ff25599c4ebb586f3906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Pradel?= Date: Sat, 23 Mar 2024 23:42:40 +0100 Subject: [PATCH] fix: fix BarChart tooltip background --- src/app/layout.tsx | 2 +- src/components/ui/BarChart.tsx | 2 +- src/lib/twitter.ts | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 57806e8..4f24d2c 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -27,7 +27,7 @@ export default function RootLayout({ children: React.ReactNode; }>) { return ( - + ( -
+
{label} diff --git a/src/lib/twitter.ts b/src/lib/twitter.ts index 24a292b..70881a8 100644 --- a/src/lib/twitter.ts +++ b/src/lib/twitter.ts @@ -31,8 +31,9 @@ export const sendTweet = async ({ ) : []; - await twitterClient.v2.tweet({ + const data = await twitterClient.v2.tweet({ text: message, media: { media_ids: mediaIds }, }); + console.log(`Tweet sent: id ${data.data.id}`); };