mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
delete unused file
This commit is contained in:
parent
3e616f2770
commit
a2eeb6e7b5
@ -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
|
||||
* 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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user