feature/create-place #8
@ -42,7 +42,6 @@ const useCreatePlaceVm = (dependencies: ICreatePlaceVm) => {
|
||||
e.preventDefault();
|
||||
try {
|
||||
const { parentId, placeName, placeTypes: placeType } = formState;
|
||||
console.log(formState);
|
||||
if (!placeName || !placeName) throw new Error(staticMessages.global.errors.inputPlace);
|
||||
const newPlaceData: createPlaceArguments = {
|
||||
parentId: parentId.value,
|
||||
|
Loading…
x
Reference in New Issue
Block a user