refactor(CheckoutView): remove unnecessary check
gitea/hedera-web/pipeline/pr-beta This commit looks good Details

This commit is contained in:
taro 2025-04-07 20:45:39 -03:00
parent c5fbb9205a
commit 03175e15b0
1 changed files with 1 additions and 5 deletions

View File

@ -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) {