Skip to content

Commit 4ba6c1d

Browse files
committed
use FC<T> type from react
1 parent aca4b49 commit 4ba6c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/modules/resources/SSHButton/SSHButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const SSHButton: FC<SSHButtonProps> = ({
8484

8585
interface SSHStepProps { helpText: string; codeExample: string }
8686

87-
const SSHStep = ({ helpText, codeExample }: SSHStepProps) => (
87+
const SSHStep: FC<SSHStepProps> = ({ helpText, codeExample }) => (
8888
<li style={{ listStylePosition: "inside" }}>
8989
<HelpTooltipText style={{ display: "inline" }}>
9090
<strong css={styles.codeExampleLabel}>{helpText}</strong>

0 commit comments

Comments
 (0)