Skip to content

Commit

Permalink
fix(logic): Fix bug where deleteValue function was removing the wrong…
Browse files Browse the repository at this point in the history
… item from NativeLocalStorage. (#4404)
  • Loading branch information
ReactNativ authored Dec 30, 2024
1 parent 167776c commit 3decd40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/turbo-native-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function App(): React.JSX.Element {
}
function deleteValue() {
NativeLocalStorage?.removeItem(editingValue ?? EMPTY);
NativeLocalStorage?.removeItem('myKey');
setValue('');
}
Expand Down

0 comments on commit 3decd40

Please sign in to comment.