Skip to content

Commit

Permalink
Fix outdated param in story
Browse files Browse the repository at this point in the history
  • Loading branch information
marcysutton committed Nov 15, 2024
1 parent 23f00ef commit 859f5e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __docs__/wonder-blocks-announcer/announcer.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ import "./announcer.styles.css";
const AnnouncerExample = ({
message = "Clicked!",
level,
timeoutDelay,
removalDelay,
}: SendMessageProps) => {
return (
<Button
onClick={() => {
// TODO: explore making method async for consistent return string
const id = sendMessage({message, level, timeoutDelay});
const id = sendMessage({message, level, removalDelay});
console.log(id);

Check failure on line 27 in __docs__/wonder-blocks-announcer/announcer.stories.tsx

View workflow job for this annotation

GitHub Actions / Lint / Lint (ubuntu-latest, 20.x)

Unexpected console statement

Check failure on line 27 in __docs__/wonder-blocks-announcer/announcer.stories.tsx

View workflow job for this annotation

GitHub Actions / Lint / Lint (ubuntu-latest, 20.x)

Unexpected console statement
}}
>
Expand Down

0 comments on commit 859f5e3

Please sign in to comment.