Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansick committed Mar 28, 2024
1 parent f59af8f commit c7fe25d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function TimesSquareUrlParametersProvider({ children }) {
// path to get the full slug. This combines the owner, repo, directory, and
// notebook name for regular /github/ pages, or just the directory and
// notebook name for /github-pr/ pages.
const githubSlug = tsSlug.join('/');
const githubSlug = tsSlug ? tsSlug.join('/') : null;

// Construct the URL for the Times Square API endpoint that gives information
// about the page. GitHub PR pages (github-pr) have different API URLs than
Expand Down

0 comments on commit c7fe25d

Please sign in to comment.