mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
delete unused file
This commit is contained in:
@@ -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
|
|
||||||
@@ -14,7 +14,6 @@ import {
|
|||||||
* isLoading: boolean state indicating whether the request is in active/in flight
|
* isLoading: boolean state indicating whether the request is in active/in flight
|
||||||
* error: any caught error resulting from the request
|
* error: any caught error resulting from the request
|
||||||
* setValue: setter to explicitly set the result value
|
* 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
|
* 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.
|
* value to set as result before the first time the request is made.
|
||||||
|
|||||||
Reference in New Issue
Block a user