Merge branch 'main' into hosted

This commit is contained in:
Abi Raja 2024-06-26 13:44:31 +08:00
commit a928631a49

View File

@ -336,6 +336,11 @@ function App({ navbarComponent }: Props) {
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."