Skip to content

Commit

Permalink
🐛 fix(profile): wrong lowercase update
Browse files Browse the repository at this point in the history
  • Loading branch information
lwinmoepaing committed Oct 21, 2023
1 parent 0e55817 commit 4e8cd4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/profileHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const checkIsFoundTag = (profileTag: string, searchTag: string) => {
const sTagLowerCase = searchTag.toLowerCase();
const pTagLowerCase = profileTag.toLowerCase();

const isExactMatch = pTagLowerCase === searchTag;
const isExactMatch = pTagLowerCase === sTagLowerCase;
if (isExactMatch) return true;

const isWithJsOrDotJSMatch =
Expand Down

0 comments on commit 4e8cd4a

Please sign in to comment.