Skip to content
Snippets Groups Projects
Commit 03812bf7 authored by Bereczki Sandor's avatar Bereczki Sandor
Browse files

Unnecessary alerts removed

parent 932b2cdf
No related branches found
No related tags found
No related merge requests found
......@@ -250,14 +250,11 @@ export const correctSolution = (id, corrected, accepted, note) => (
note,
});
if (response.data.id) {
alert('Sikeres mentés!');
dispatch({
type: CORRECT_SOLUTION,
payload: response.data,
});
} else {
alert('Mentés nem sikerült!');
}
} catch (e) {
console.log(e);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment