Skip to content

Commit

Permalink
fix: handle apply error
Browse files Browse the repository at this point in the history
  • Loading branch information
rharkor committed Sep 4, 2024
1 parent 1a31f5b commit f118a5b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/cli/src/app/.env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
LOGGER_ENV=development
ROOT_PATH=/workspace/packages/cli/src/app
ENV=development
ROOT_PATH=/workspace/packages/cli/src/app/out
3 changes: 2 additions & 1 deletion packages/cli/src/app/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
config.json
config.json
out
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function CurrentConfiguration({
}

const applyConfigurationMutation = trpc.configuration.applyConfiguration.useMutation({
onSettled: async () => {
onSuccess: async () => {
toast.success(dictionary.configurationApplied)
},
})
Expand Down

0 comments on commit f118a5b

Please sign in to comment.