Skip to content

Commit

Permalink
removed double negation
Browse files Browse the repository at this point in the history
  • Loading branch information
brayn003 committed Sep 2, 2024
1 parent 6975416 commit 7f87f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/client/src/pages/Editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class Editor extends Component<Props> {
(page) => page.basePageId === prevBasePageId,
)?.pageId;
// caching value for prevPageId as it is required in future lifecycles
if (!!prevPageId) {
if (prevPageId) {
this.prevPageId = prevPageId;
}

Expand Down

0 comments on commit 7f87f09

Please sign in to comment.