Skip to content

Commit

Permalink
Update ID for Changes button to match Storybook 8.3's Warnings button…
Browse files Browse the repository at this point in the history
… for forward compatibility
  • Loading branch information
ghengeveld committed Aug 20, 2024
1 parent e5021bd commit f043bff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/SidebarBottom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const SidebarBottomBase = ({ api, status }: SidebarBottomProps) => {
<Wrapper id="sidebar-bottom-wrapper">
{hasWarnings && (
<SidebarToggleButton
id="changes-found-filter"
id="warnings-found-filter"
active={showWarnings}
count={warnings.length}
label="Change"
Expand Down
2 changes: 1 addition & 1 deletion src/screens/GuidedTour/GuidedTour.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const GuidedTour = ({
</>
),
floaterProps: {
target: "#changes-found-filter",
target: "#warnings-found-filter",
options: {
preventOverflow: {
boundariesElement: "window",
Expand Down

0 comments on commit f043bff

Please sign in to comment.