refactor(CheckoutView): remove unnecessary check
gitea/hedera-web/pipeline/pr-beta This commit looks good
Details
gitea/hedera-web/pipeline/pr-beta This commit looks good
Details
This commit is contained in:
parent
c5fbb9205a
commit
03175e15b0
|
@ -334,11 +334,7 @@ const createOrder = async (userId) => {
|
|||
const submit = async () => {
|
||||
loading.value = true;
|
||||
|
||||
const userId = userStore?.user?.id;
|
||||
|
||||
if (!userId) {
|
||||
throw 'no user id';
|
||||
}
|
||||
const userId = userStore.user.id;
|
||||
|
||||
try {
|
||||
if (!id) {
|
||||
|
|
Loading…
Reference in New Issue