diff --git a/src/views/studio/modals/user-projects-tile.jsx b/src/views/studio/modals/user-projects-tile.jsx index e46650a0f..2c1210803 100644 --- a/src/views/studio/modals/user-projects-tile.jsx +++ b/src/views/studio/modals/user-projects-tile.jsx @@ -10,6 +10,7 @@ const UserProjectsTile = ({id, title, image, inStudio, onAdd, onRemove}) => { const [added, setAdded] = useState(inStudio); const {errorAlert} = useContext(AlertContext); const toggle = () => { + if (submitting) return; setSubmitting(true); const adding = !added; // for clarity, the current action is opposite of previous state (adding ? onAdd(id) : onRemove(id))