Fix toast notification ID conflict in createConfig

This commit is contained in:
Chris Scott committed 2025-12-25 10:46:09 -05:00
1 parent 3fd62b77a1
commit ff3971f26d
1 file changed
+2 -2
@@ -173,9 +173,9 @@ export function OpenCodeConfigManager() {
await fetchConfigs()
if (isDefault) {
showToast.loading('Restarting server...', { id: 'restart-server' })
showToast.loading('Restarting server...', { id: 'create-config' })
await restartServerMutation.mutateAsync()
showToast.success('Configuration created and server restarted', { id: 'restart-server' })
showToast.success('Configuration created and server restarted', { id: 'create-config' })
} else {
showToast.success('Configuration created', { id: 'create-config' })
}