unistore sucks i think
This commit is contained in:
1 parent
baeaead650
commit
02aadcf2db
21 files changed
+4468
-1354
No files matched your search
@@ -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;
|
||||
Reference in new issue
Block a user