Skip to content

Commit

Permalink
Update sandbox.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mswertz committed Feb 24, 2024
1 parent dfebd96 commit 858be77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/histoire-app/src/app/util/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export function getSandboxUrl (story: Story, variant: Variant) {
const url = new URLSearchParams()
url.append('storyId', story.id)
url.append('variantId', variant.id)
const baseUrl = base == '/' || base == "" ? base : base + '/'
const baseUrl = base === '/' || base === "" ? base : base + '/'

Check failure on line 9 in packages/histoire-app/src/app/util/sandbox.ts

View workflow job for this annotation

GitHub Actions / Build and test

Strings must use singlequote
return `${baseUrl}__sandbox.html?${url.toString()}`
}

0 comments on commit 858be77

Please sign in to comment.