Added initial add product page and redirect login page to dashboard if already logged in

This commit is contained in:
Keannu Christian Bernasol 2023-03-06 14:55:45 +08:00
parent 9cdca33783
commit 325fbf87db
4 changed files with 61 additions and 1 deletions

View file

@ -33,7 +33,7 @@ export default function Products() {
}}
>
<Button
onClick={() => navigate("/Products/AddProduct")}
onClick={() => navigate("/AddProduct")}
style={styles.button_add_product}
>
<AddIcon size={32} color="white" />