fix: 🐛 wizardEnv data fetch

This commit is contained in:
Ravinou 2025-03-31 18:55:43 +02:00
commit 3105963b11
No known key found for this signature in database
GPG key ID: EEEE670C40F6A4D7

View file

@ -54,7 +54,8 @@ export default function RepoList() {
'Content-type': 'application/json',
},
});
setWizardEnv((await response.json()).wizardEnv);
const data = await response.json();
setWizardEnv(data);
} catch (error) {
console.log('Fetching datas error');
}