Update requirement files with new feature templates and fix backend API error message, along with mobile project config updates and documentation improvements
This commit is contained in:
@@ -86,9 +86,7 @@ const Menu: React.FC<MenuProps> = ({
|
||||
detail={false}
|
||||
routerLink={p.path}
|
||||
routerDirection="none"
|
||||
className={
|
||||
location.pathname.startsWith(p.path) ? 'selected' : undefined
|
||||
}
|
||||
className={location.pathname.startsWith(p.path) ? 'selected' : undefined}
|
||||
>
|
||||
<IonIcon slot="start" icon={p.icon} />
|
||||
<IonLabel>{p.title}</IonLabel>
|
||||
@@ -110,15 +108,8 @@ const Menu: React.FC<MenuProps> = ({
|
||||
? renderlistItems(routes.loggedInPages)
|
||||
: renderlistItems(routes.loggedOutPages)}
|
||||
<IonItem>
|
||||
<IonIcon
|
||||
slot="start"
|
||||
icon={moonOutline}
|
||||
aria-hidden="true"
|
||||
></IonIcon>
|
||||
<IonToggle
|
||||
checked={darkMode}
|
||||
onClick={() => setDarkMode(!darkMode)}
|
||||
>
|
||||
<IonIcon slot="start" icon={moonOutline} aria-hidden="true"></IonIcon>
|
||||
<IonToggle checked={darkMode} onClick={() => setDarkMode(!darkMode)}>
|
||||
Dark Mode
|
||||
</IonToggle>
|
||||
</IonItem>
|
||||
|
Reference in New Issue
Block a user