Skip to content

Commit

Permalink
run yarn format
Browse files Browse the repository at this point in the history
  • Loading branch information
ori-shalom committed Jul 17, 2023
1 parent d085787 commit 29f68c2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ function useDefaultCanonicalUrl() {
} = useDocusaurusContext();
const {pathname} = useLocation();
return (
siteUrl +
useBaseUrl(pathname).replace(/\/+$/, trailingSlash ? '/' : '')
siteUrl + useBaseUrl(pathname).replace(/\/+$/, trailingSlash ? '/' : '')
);
}

Expand Down

0 comments on commit 29f68c2

Please sign in to comment.