switched to regular api module instead of stub, which is only for dev branch

This commit is contained in:
brian
2021-03-15 17:24:47 -04:00
parent bd4aca06d7
commit ee17abce06
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import nanoid from '../nanoid.min.js';
//import api from '../api.js';
import api from '../api-stub.js';
import api from '../api.js';
//import api from '../api-stub.js';
const load_notes = function(state, dispatch){
api.post('/load-notes', {bin_id: state.bin.id})
+2 -2
View File
@@ -1,5 +1,5 @@
//import api from '../api.js';
import api from '../api-stub.js';
import api from '../api.js';
//import api from '../api-stub.js';
const edit_handler = function(note_state, dispatch){
dispatch({type: 'update-note-editing', note_id: note_state.note.id, is_editing: true});