mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
tweak(bank/nui): Adding all needed routes
This commit is contained in:
1 parent
818643e40b
commit
544a46ca0b
1 file changed
+2
-2
@@ -20,6 +20,7 @@ import { NavigationBar } from "./navigation/NavigationBar";
|
|||||||
|
|
||||||
import { BankHome } from './home/BankHome';
|
import { BankHome } from './home/BankHome';
|
||||||
import { BankAccount } from './account/BankAccount';
|
import { BankAccount } from './account/BankAccount';
|
||||||
|
import { TransactionList } from "./transactions/TransactionList";
|
||||||
|
|
||||||
const useStyles = makeStyles((theme) => ({
|
const useStyles = makeStyles((theme) => ({
|
||||||
root: {
|
root: {
|
||||||
@@ -48,8 +49,6 @@ const useStyles = makeStyles((theme) => ({
|
|||||||
|
|
||||||
export const BankApp = () => {
|
export const BankApp = () => {
|
||||||
const { showBankModal, setShowBankModal } = useBankModal();
|
const { showBankModal, setShowBankModal } = useBankModal();
|
||||||
const { credentials } = useCredentials();
|
|
||||||
const { transactionList } = useTransactions();
|
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const classes = useStyles();
|
const classes = useStyles();
|
||||||
|
|
||||||
@@ -66,6 +65,7 @@ export const BankApp = () => {
|
|||||||
<Switch>
|
<Switch>
|
||||||
<Route path="/bank" exact component={BankHome} />
|
<Route path="/bank" exact component={BankHome} />
|
||||||
<Route path="/bank/account" exact component={BankAccount} />
|
<Route path="/bank/account" exact component={BankAccount} />
|
||||||
|
<Route path="/bank/transactions" exact component={TransactionList} />
|
||||||
</Switch>
|
</Switch>
|
||||||
</AppContent>
|
</AppContent>
|
||||||
<NavigationBar />
|
<NavigationBar />
|
||||||
|
|||||||
Reference in new issue
Block a user