Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Jul 14, 2023
1 parent 3a9f04a commit c3b7459
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
7 changes: 6 additions & 1 deletion src/Summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ export const Summary = memo(
<li key={i}>
<Link
{...link.linkProps}
id={link.linkProps.id ?? `${id}-link${generateValidHtmlId({ "text": link.text })}-${i}`}
id={
link.linkProps.id ??
`${id}-link${generateValidHtmlId({
"text": link.text
})}-${i}`
}
className={cx(
fr.cx("fr-summary__link"),
classes.link,
Expand Down
4 changes: 2 additions & 2 deletions stories/ColorHelper/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function Search(props: Props) {
<SearchBar
className={classes.searchBar}
label="Filter by color code (e.g. #c9191e), CSS variable name (e.g. --text-active-red-marianne) or something else..."
renderInput={({ className, id, placeholder, type }) =>
renderInput={({ className, id, placeholder, type }) => (
<input
ref={setInputElement}
value={search}
Expand All @@ -101,7 +101,7 @@ export function Search(props: Props) {
placeholder={placeholder}
type={type}
/>
}
)}
/>
<Button
className={classes.filterButton}
Expand Down
1 change: 0 additions & 1 deletion stories/ConsentManagement.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ function Story() {
)}
<Button
onClick={() => {

Object.keys(localStorage)
.filter(key => key.startsWith(localStorageKeyPrefix))
.forEach(key => localStorage.removeItem(key));
Expand Down

0 comments on commit c3b7459

Please sign in to comment.