aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/reducers')
-rw-r--r--ui/app/reducers/app.js12
1 files changed, 1 insertions, 11 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index 9775638a7..fed8b1b95 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -50,7 +50,6 @@ function reduceApp (state, action) {
},
sidebarOpen: false,
alertOpen: false,
- qrScannerOpen: false,
alertMessage: null,
qrCodeData: null,
networkDropdownOpen: false,
@@ -104,17 +103,8 @@ function reduceApp (state, action) {
alertOpen: false,
alertMessage: null,
})
- // qr scanner methods
- case actions.QR_SCANNER_OPEN:
- return extend(appState, {
- qrScannerOpen: true,
- })
-
- case actions.QR_SCANNER_CLOSE:
- return extend(appState, {
- qrScannerOpen: false,
- })
+ // qr scanner methods
case actions.QR_CODE_DETECTED:
return extend(appState, {
qrCodeData: action.value,