We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26cbc32 commit 68478efCopy full SHA for 68478ef
Frontend/components/MyProfile.js
@@ -225,12 +225,8 @@ function MyProfile({route}) {
225
const init = async () => {
226
try {
227
setIsSaving(true);
228
- if (skillsList.length === 0) {
229
- await getDBskills();
230
- }
231
- if (languageList.length === 0) {
232
- await getDBlanguages();
233
+ await getDBskills();
+ await getDBlanguages();
234
setIsSaving(false);
235
} catch (e) {
236
console.log(e);
0 commit comments