diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index e6f8503..22d167b 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -298,6 +298,11 @@ function App() { updateInstruction: string, selectedElement?: HTMLElement ) { + if (updateInstruction.trim() === "") { + toast.error("Please include some instructions for AI on what to update."); + return; + } + if (currentVersion === null) { toast.error( "No current version set. Contact support or open a Github issue."