Adds redirection to creator creation

This commit is contained in:
2024-09-04 14:02:37 -04:00
parent c2df527d4c
commit bad374a158
2 changed files with 7 additions and 2 deletions

View File

@@ -78,8 +78,13 @@ import ManageAccount from "@/views/profile/management/ManageAccount.vue";
import CreatorPage from "@/views/profile/creators/CreatorPage.vue";
import AccountPage from "@/views/profile/account/AccountPage.vue";
import AccountSecurity from "@/views/profile/security/AccountSecurity.vue";
import {useRoute} from "vue-router";
const currentComponent = ref('AccountPage'); // Default component
const route = useRoute()
const startingComponent = route.query.target || 'AccountPage'
const currentComponent = ref(startingComponent);
const isDown = ref(false);
const startX = ref(0);
const scrollLeft = ref(0);