Skip to content

Commit

Permalink
fixed failed build (#18610)
Browse files Browse the repository at this point in the history
  • Loading branch information
dizel852 authored and nataly committed Nov 3, 2022
1 parent badbe8d commit 5177eb4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { Text } from "components/ui/Text";

import { useConnectorBuilderState } from "services/connectorBuilder/ConnectorBuilderStateService";

import { Heading } from "../ui/Heading";
import styles from "./StreamSelector.module.scss";

export const StreamSelector: React.FC = () => {
Expand All @@ -15,9 +16,9 @@ export const StreamSelector: React.FC = () => {
return (
<Listbox value={selectedStream.name} onChange={setSelectedStream}>
<Listbox.Button className={classNames(styles.button, styles.centered)}>
<Text className={styles.capitalized} as="h1" size="sm">
<Heading className={styles.capitalized} as="h1" size="sm">
{selectedStream.name}
</Text>
</Heading>
<FontAwesomeIcon className={styles.arrow} icon={faSortDown} />
</Listbox.Button>
{/* wrap in div to make `position: absolute` on Listbox.Options result in correct vertical positioning */}
Expand Down

0 comments on commit 5177eb4

Please sign in to comment.