Skip to content

Commit

Permalink
fix: equality check
Browse files Browse the repository at this point in the history
Co-authored-by: Graham Tackley <gtackley@brave.com>
  • Loading branch information
IanKrieger and tackley authored Aug 17, 2023
1 parent 5f88fc2 commit 5c4bff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user/User.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const ProtectedRoute = ({

if (
validateAdvertiserProperty &&
advertiser[validateAdvertiserProperty.key] != validateAdvertiserProperty.val
advertiser[validateAdvertiserProperty.key] !== validateAdvertiserProperty.val
) {
return <Redirect to="/user/main" />;
}
Expand Down

0 comments on commit 5c4bff4

Please sign in to comment.