From 902e5dabbb1ab0612764983c094af398e5f636ee Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Thu, 26 Jan 2023 17:02:02 +0700 Subject: Invoice and invoice detail --- src/components/elements/Disclosure.js | 4 ++-- src/components/layouts/AppBar.js | 5 ++++- src/components/transactions/TransactionDetail.js | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src/components') diff --git a/src/components/elements/Disclosure.js b/src/components/elements/Disclosure.js index 584fa144..1f334be3 100644 --- a/src/components/elements/Disclosure.js +++ b/src/components/elements/Disclosure.js @@ -4,9 +4,9 @@ const Disclosure = ({ label, active, onClick }) => (

{ label }

{ onClick && ( active ? ( - + ) : ( - + ) ) }
); diff --git a/src/components/layouts/AppBar.js b/src/components/layouts/AppBar.js index f9dddf9d..b4c7703c 100644 --- a/src/components/layouts/AppBar.js +++ b/src/components/layouts/AppBar.js @@ -1,4 +1,4 @@ -import { ChevronLeftIcon, HeartIcon, HomeIcon } from "@heroicons/react/24/outline"; +import { Bars3Icon, ChevronLeftIcon, HeartIcon, HomeIcon } from "@heroicons/react/24/outline"; import Head from "next/head"; import { useRouter } from "next/router"; import { useEffect, useState } from "react"; @@ -49,6 +49,9 @@ const AppBar = ({ title }) => { + + + {/* --- End Icons */} diff --git a/src/components/transactions/TransactionDetail.js b/src/components/transactions/TransactionDetail.js index 7659a321..295a4f9f 100644 --- a/src/components/transactions/TransactionDetail.js +++ b/src/components/transactions/TransactionDetail.js @@ -33,7 +33,7 @@ const TransactionDetailAddress = ({ transaction }) => { }; return ( -
+