mirror of
https://github.com/Ravinou/borgwarehouse
synced 2026-03-14 14:25:46 +01:00
fix: 🐛 wizardEnv data fetch
This commit is contained in:
parent
11aa62a548
commit
3105963b11
1 changed files with 2 additions and 1 deletions
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue