Skip to content

Commit

Permalink
pr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fraincs committed Sep 23, 2024
1 parent 5c9469f commit 4bb1e89
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion packages/Alert/src/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export type Appearance = "card" | "inline" | "horizontal";

export interface AlertButton {
label: React.ReactNode;
onClick?: (e?: React.SyntheticEvent) => void;
onClick: (e?: React.SyntheticEvent) => void;
}

export interface AlertProps extends Omit<React.ComponentProps<"div">, "title"> {
Expand Down
2 changes: 0 additions & 2 deletions packages/Toaster/src/Toaster.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,7 @@ export const ErrorToast = () => {
);
};


export const NodeMessageSuccessToast = () => {

return (
<ChromaticWrapper>
<Button appearance="secondary" onClick={() => toast.success(<span>Andrew's <em>profile</em> has been deleted</span>)}>
Expand Down

0 comments on commit 4bb1e89

Please sign in to comment.