Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
babakamyljanovssw committed Feb 6, 2025
1 parent 35a187b commit 3fd540c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/user/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ const UserRules = ({ data, location }) => {
if (
path.includes('.md') &&
!path.includes('categories') &&
path.lastIndexOf('/') !== -1
lastSlashIndex !== -1
) {
return path.substring(0, lastSlashIndex + 1);
} else {
Expand Down

0 comments on commit 3fd540c

Please sign in to comment.