Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

refactor: remove empty var

alihamuh741b6d79377f
diff --git a/apps/web/src/navigation/index.js b/apps/web/src/navigation/index.js
index bd6f1805f..87cf9401f 100644
--- a/apps/web/src/navigation/index.js
+++ b/apps/web/src/navigation/index.js
@@ -118,7 +118,7 @@ function ThemedComponent(props) {
</Flex>
{props.route.component && (
<props.route.component
- backAction={action => setBackAction(prev => action)}
+ backAction={action => setBackAction(() => action)}
canGoBack={setCanGoBack}
changeTitle={setTitle}
{...props.params}