Skip to content

Commit 314269c

Browse files
committed
Update ContributeDetails.jsx
1 parent 9389ae3 commit 314269c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/component/modals/ContributeDetails.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ const ContributeDetails = ({ superState, dispatcher }) => {
1717
const [branch, setBranch] = useState('');
1818
const [showAdvanceOptions, setShowAdvanceOptions] = useState(false);
1919
const submit = async (e) => {
20+
if (study === '' || path === '' || auth === '') {
21+
toast.info('Please Provide necessary inputs');
22+
return;
23+
}
2024
const id = toast.loading('Processing your Request.Please wait...');
2125
try {
2226
e.preventDefault();

0 commit comments

Comments
 (0)