We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdc019b commit 3cd3c64Copy full SHA for 3cd3c64
1 file changed
src/reducers/app.ts
@@ -11,6 +11,7 @@ export const appInfo: Reducer<Dict<AppInfo>> = (state = {}, action) => {
11
case GET_APPS:
12
return payload
13
case ADD_TEMP_APP:
14
+ if (state[payload.id]) return state
15
return {
16
...state,
17
[payload.id]: {
0 commit comments