Skip to content

Commit

Permalink
tweak: ah! hasAlert doesn't need to be passed now
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahpurcell committed Oct 1, 2024
1 parent 7088904 commit 9031c7a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion assets/src/components/routeLadder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ export const Header = ({
routeName={routeName}
largeFormat
className="c-route-pill--dynamic-size"
hasAlert={hasAlert}
>
{hasAlert && (
<Tippy
Expand Down
2 changes: 0 additions & 2 deletions assets/src/components/routePill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@ export const RoutePill = ({
routeName,
largeFormat,
className,
hasAlert,
...props
}: {
children?: React.ReactNode
routeName: string
largeFormat?: boolean
className?: string
hasAlert?: boolean
} & ComponentPropsWithoutRef<"div">): JSX.Element => {
const classes = joinClasses([
"c-route-pill",
Expand Down

0 comments on commit 9031c7a

Please sign in to comment.