From ad0daaf4451de0752450fcb97cfa6b61a86e3b7c Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Wed, 24 Jan 2024 23:22:50 +0900
Subject: [PATCH] Add title to sidebar menu
---
renderer/components/layouts/timelines.tsx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/renderer/components/layouts/timelines.tsx b/renderer/components/layouts/timelines.tsx
index fb7fcf12..46fc0f40 100644
--- a/renderer/components/layouts/timelines.tsx
+++ b/renderer/components/layouts/timelines.tsx
@@ -85,6 +85,7 @@ export default function Layout({ children }: LayoutProps) {
selected={router.asPath.includes(page.path)}
onClick={() => router.push(page.path)}
className="sidebar-menu-item text-blue-100"
+ title={page.title}
>
{page.icon}
{page.title}
@@ -96,6 +97,7 @@ export default function Layout({ children }: LayoutProps) {
selected={router.asPath.includes(`list_${list.id}`)}
onClick={() => router.push({ pathname: `/accounts/${router.query.id}/list_${list.id}` })}
className="sidebar-menu-item text-blue-100"
+ title={list.title}
>