diff --git a/client/src/components/logForm/LogForm.tsx b/client/src/components/logForm/LogForm.tsx index 4db774f..3834625 100644 --- a/client/src/components/logForm/LogForm.tsx +++ b/client/src/components/logForm/LogForm.tsx @@ -32,7 +32,7 @@ const LogForm = () => { const response: AxiosResponse = await httpClient.get( `api/logs/${logbookContext.state.selectedLogId}` ); - const log = response.data.entities[0]; + const log = response.data; reset(log); } catch (error) {