feat: logout

:%s
This commit is contained in:
lytrankieio123
2021-09-29 16:58:12 +07:00
parent 660ba8d301
commit faabf5228d
12 changed files with 201 additions and 121 deletions

View File

@@ -87,7 +87,7 @@ const AccountPage = ({ defaultActiveContent="orders" } : AccountPageProps) => {
const query = router.query[QUERY_KEY.TAB] as string
const index = getTabIndex(query)
setActiveTab(index)
}, [router.query[QUERY_KEY.TAB]])
}, [router.query])
function showModal() {
setModalVisible(true);