Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Nov 22, 2023
1 parent c609bf3 commit cea5332
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
16 changes: 8 additions & 8 deletions src/nationalarchives/components/gallery/gallery.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ Standard.args = {
},
]
: index === 1
? [
{
id: "tab-1",
title: "Transcript",
body: "<p>TEST TRANSCRIPT</p>",
},
]
: null,
? [
{
id: "tab-1",
title: "Transcript",
body: "<p>TEST TRANSCRIPT</p>",
},
]
: null,
})),

classes: "tna-gallery--demo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,28 +64,28 @@ const Template = ({ theme, accent }) => {
theme === "system"
? "tna-template--system-theme"
: theme === "light"
? "tna-template--light-theme"
: theme === "dark"
? "tna-template--dark-theme"
: theme === "light high-contrast"
? "tna-template--light-theme tna-template--high-contrast-theme"
: theme === "dark high-contrast"
? "tna-template--dark-theme tna-template--high-contrast-theme"
: ""
? "tna-template--light-theme"
: theme === "dark"
? "tna-template--dark-theme"
: theme === "light high-contrast"
? "tna-template--light-theme tna-template--high-contrast-theme"
: theme === "dark high-contrast"
? "tna-template--dark-theme tna-template--high-contrast-theme"
: ""
} ${
accent === "black"
? "tna-template--black-accent"
: accent === "yellow"
? "tna-template--yellow-accent"
: accent === "pink"
? "tna-template--pink-accent"
: accent === "orange"
? "tna-template--orange-accent"
: accent === "green"
? "tna-template--green-accent"
: accent === "blue"
? "tna-template--blue-accent"
: ""
? "tna-template--yellow-accent"
: accent === "pink"
? "tna-template--pink-accent"
: accent === "orange"
? "tna-template--orange-accent"
: accent === "green"
? "tna-template--green-accent"
: accent === "blue"
? "tna-template--blue-accent"
: ""
}">
<div class="tna-template__body tna-template__body--padded">
<!--
Expand Down

0 comments on commit cea5332

Please sign in to comment.