Skip to content
Snippets Groups Projects
Commit 7494482c authored by Luke Schlangen's avatar Luke Schlangen
Browse files

remove isAdmin from mode reducer

parent 4dc2501e
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,6 @@ const SET_FULL_SCREEN = 'scratch-gui/mode/SET_FULL_SCREEN'; ...@@ -2,7 +2,6 @@ const SET_FULL_SCREEN = 'scratch-gui/mode/SET_FULL_SCREEN';
const SET_PLAYER = 'scratch-gui/mode/SET_PLAYER'; const SET_PLAYER = 'scratch-gui/mode/SET_PLAYER';
const initialState = { const initialState = {
isAdmin: true,
showBranding: false, showBranding: false,
isFullScreen: false, isFullScreen: false,
isPlayerOnly: false, isPlayerOnly: false,
......
...@@ -12,7 +12,6 @@ test('initialState', () => { ...@@ -12,7 +12,6 @@ test('initialState', () => {
test('set full screen mode', () => { test('set full screen mode', () => {
const previousState = { const previousState = {
isAdmin: true,
showBranding: false, showBranding: false,
isFullScreen: false, isFullScreen: false,
isPlayerOnly: false, isPlayerOnly: false,
...@@ -23,7 +22,6 @@ test('set full screen mode', () => { ...@@ -23,7 +22,6 @@ test('set full screen mode', () => {
isFullScreen: true isFullScreen: true
}; };
const newState = { const newState = {
isAdmin: true,
showBranding: false, showBranding: false,
isFullScreen: true, isFullScreen: true,
isPlayerOnly: false, isPlayerOnly: false,
...@@ -35,7 +33,6 @@ test('set full screen mode', () => { ...@@ -35,7 +33,6 @@ test('set full screen mode', () => {
test('set player mode', () => { test('set player mode', () => {
const previousState = { const previousState = {
isAdmin: true,
showBranding: false, showBranding: false,
isFullScreen: false, isFullScreen: false,
isPlayerOnly: false, isPlayerOnly: false,
...@@ -46,7 +43,6 @@ test('set player mode', () => { ...@@ -46,7 +43,6 @@ test('set player mode', () => {
isPlayerOnly: true isPlayerOnly: true
}; };
const newState = { const newState = {
isAdmin: true,
showBranding: false, showBranding: false,
isFullScreen: false, isFullScreen: false,
isPlayerOnly: true, isPlayerOnly: true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment