Skip to content

Commit

Permalink
chore: adds favicon to demo
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsfletch committed Oct 5, 2022
1 parent d667be7 commit 68dd777
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<html>
<head>
<title>React Slider</title>
<link rel="icon" type="image/png" href="https://facelessui.com/favicon.png" />
</head>
<body>
<noscript>Enable JavaScript</noscript>
Expand Down
2 changes: 1 addition & 1 deletion src/SliderProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const SliderProvider: React.FC<SliderProviderProps> = (props) => {
id: idFromProps
} = props;

// NOTE: the 'aria-controls' attribute relies on this matching IDs
// NOTE: some ARIA attributes rely on matching IDs
const uniqueID = useId();
const id = idFromProps || uniqueID;

Expand Down

0 comments on commit 68dd777

Please sign in to comment.