Fix NameEditor reservations handling of errors
This commit is contained in:
@@ -49,7 +49,6 @@ const checkNameAvailability = async () => {
|
||||
reservationState.value = "reserved";
|
||||
} catch (error) {
|
||||
reservationState.value = "unavailable"; // Handle API failure case
|
||||
reservationId.value = undefined;
|
||||
} finally {
|
||||
emits('update:name', name.value);
|
||||
emits('update:creatorNameReservationId', reservationId.value);
|
||||
|
||||
Reference in New Issue
Block a user