From ff01c563267f6990462adc8c7712435dd5db8c5a Mon Sep 17 00:00:00 2001
From: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Date: Tue, 30 Jul 2024 21:30:08 +1200
Subject: [PATCH] fix: invalid icon element props and failed invariant error
from the `` on the check-in page (#395)
* fix: invalid element props on the icons
* fix: the agreement `from` value for the breadcrumb to go back
---
src/components/add-rental/index.tsx | 6 +++++-
src/components/ui/icons.tsx | 14 +++++++-------
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/components/add-rental/index.tsx b/src/components/add-rental/index.tsx
index 5e5aa82d..f98c7b2a 100644
--- a/src/components/add-rental/index.tsx
+++ b/src/components/add-rental/index.tsx
@@ -921,7 +921,11 @@ function AddRentalParentForm({
{isEdit && module === "agreement" && (
<>
diff --git a/src/components/ui/icons.tsx b/src/components/ui/icons.tsx
index 8d10b6d8..d4a34806 100644
--- a/src/components/ui/icons.tsx
+++ b/src/components/ui/icons.tsx
@@ -129,15 +129,15 @@ export const icons = {
Twitter: (props: SvgProps) => {
return (