Skip to content

Commit

Permalink
frontend-counter-react: Fixed typescript error.
Browse files Browse the repository at this point in the history
  • Loading branch information
kkomelin committed Jan 27, 2025
1 parent ca613fc commit 44c7b03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const CreateCounterForm = () => {
notificationId
)

const counterId = response.effects?.created?.[0]?.reference?.objectId!
const counterId = response.effects?.created?.[0]?.reference?.objectId
navigate(`/counter/${counterId}`)
},
onError: (e: Error) => {
Expand Down

0 comments on commit 44c7b03

Please sign in to comment.