From 5a939c077172325e0c74ac77e6f7570c4e400b16 Mon Sep 17 00:00:00 2001 From: LandaMm Date: Sat, 24 May 2025 20:59:25 +0200 Subject: [PATCH] feat: link to login page to add account --- web/src/feature/AccountList/index.tsx | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/web/src/feature/AccountList/index.tsx b/web/src/feature/AccountList/index.tsx index b76deca..8bee291 100644 --- a/web/src/feature/AccountList/index.tsx +++ b/web/src/feature/AccountList/index.tsx @@ -1,7 +1,8 @@ -import { useDbContext } from "@/context/db/db"; +import { useDbContext } from "@/context/db"; import { type LocalAccount, useAccountRepo } from "@/repository/account"; import { CirclePlus, User } from "lucide-react"; import { useEffect, useState, type FC } from "react"; +import { Link } from "react-router-dom"; const AccountList: FC = () => { const [accounts, setAccounts] = useState([]); @@ -72,16 +73,18 @@ const AccountList: FC = () => { ))} -
-
-
- + +
+
+
+ +
+

+ Add new account +

-

- Add new account -

-
+ ); };