File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
site/src/modules/resources/SSHButton Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,14 @@ export const SSHButton: FC<SSHButtonProps> = ({
82
82
) ;
83
83
} ;
84
84
85
- const SSHStep = ( props : { helpText : string ; codeExample : string } ) => (
85
+ interface SSHStepProps { helpText : string ; codeExample : string }
86
+
87
+ const SSHStep = ( { helpText, codeExample } : SSHStepProps ) => (
86
88
< li style = { { listStylePosition : "inside" } } >
87
89
< HelpTooltipText style = { { display : "inline" } } >
88
- < strong css = { styles . codeExampleLabel } > { props . helpText } </ strong >
90
+ < strong css = { styles . codeExampleLabel } > { helpText } </ strong >
89
91
</ HelpTooltipText >
90
- < CodeExample secret = { false } code = { props . codeExample } />
92
+ < CodeExample secret = { false } code = { codeExample } />
91
93
</ li >
92
94
) ;
93
95
You can’t perform that action at this time.
0 commit comments