delete unused file

This commit is contained in:
Keith Grant 2020-03-13 11:38:49 -07:00
parent 3e616f2770
commit a2eeb6e7b5
2 changed files with 0 additions and 16 deletions

View File

@ -1,15 +0,0 @@
export default function surveyReducer(state, action) {
switch (action.type) {
case 'THING':
return state;
default:
throw new Error(`Unrecognized action type: ${action.type}`);
}
}
// move up/down -> Update
// delete -> Update
// delete all -> destroySurvey
// toggle -> Update survey_enabled
// select
// select all

View File

@ -14,7 +14,6 @@ import {
* isLoading: boolean state indicating whether the request is in active/in flight
* error: any caught error resulting from the request
* setValue: setter to explicitly set the result value
* isInitialized: set to true once the result is initially fetched
*
* The hook also accepts an optional second parameter which is a default
* value to set as result before the first time the request is made.