We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2937578 commit dc69063Copy full SHA for dc69063
app/src/redux/reducers/slice/appStateSlice.ts
@@ -860,6 +860,7 @@ const appStateSlice = createSlice({
860
},
861
//deleted 'convertToJSX' function, which threw errors upon opening
862
openProject: (state, action) => {
863
+ // returning the action.payload is a Redux shortcut that updates the entire app state at the same time
864
return action.payload;
865
866
addElement: (state, action) => {
0 commit comments