update contracts+ desktop version
This commit is contained in:
+5
-6
@@ -53,13 +53,12 @@ router.beforeEach(async (to, from) => {
|
||||
|
||||
|
||||
const walletStore = useWalletStoreV2();
|
||||
|
||||
//middleware
|
||||
if (to.meta.middleware) {
|
||||
if (!walletStore.connected) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// if (to.meta.middleware) {
|
||||
// if (!walletStore.connected) {
|
||||
// return '/';
|
||||
// }
|
||||
// }
|
||||
return true;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user