Skip to content

Commit

Permalink
Fix a typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
zewish committed Sep 5, 2023
1 parent d98cc5d commit 2b5f0d5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -41,7 +41,7 @@ const myStateIsRemembered = createSlice({
text: ''
},
reducers: {
setPersistedText(state, action: PayloadAction<{ text: string }>) {
setPersistedText(state, action: PayloadAction<string>) {
state.text = action.payload;
}
}
Expand All @@ -53,7 +53,7 @@ const myStateIsForgotten = createSlice({
text: ''
},
reducers: {
setForgottenText(state, action: PayloadAction<{ text: string }>) {
setForgottenText(state, action: PayloadAction<string>) {
state.text = action.payload;
}
}
Expand Down Expand Up @@ -99,7 +99,7 @@ const myStateIsRemembered = createSlice({
text: ''
},
reducers: {
setPersistedText(state, action: PayloadAction<{ text: string }>) {
setPersistedText(state, action: PayloadAction<string>) {
state.text = action.payload;
}
}
Expand All @@ -111,7 +111,7 @@ const myStateIsForgotten = createSlice({
text: ''
},
reducers: {
setForgottenText(state, action: PayloadAction<{ text: string }>) {
setForgottenText(state, action: PayloadAction<string>) {
state.text = action.payload;
}
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "redux-remember",
"version": "4.0.2",
"version": "4.0.3",
"description": "Saves and loads your redux state from a key-value store of your choice",
"author": "Iskren Slavov <iskren.s@gmail.com>",
"license": "MIT",
Expand Down

0 comments on commit 2b5f0d5

Please sign in to comment.