unistore sucks i think

This commit is contained in:
ntr committed 2022-08-01 18:29:23 +10:00
1 parent baeaead650
commit 02aadcf2db
21 files changed
+4468 -1354

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import axios from 'axios';
const actions = store => ({
getBundles: async () => {
const { data: bundles } = await axios.get('http://localhost:41337/bundles');
return { bundles };
},
});
export default actions;