File tree Expand file tree Collapse file tree
packages/app/src/cli/services/dev/ui/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ const DevSessionUI: FunctionComponent<DevSesionUIProps> = ({
162162 } ,
163163 ]
164164
165- const activeShortcuts = devStatusShortcuts . filter ( ( s ) => s . condition ?.( ) ?? true )
165+ const activeShortcuts = devStatusShortcuts . filter ( ( shortcut ) => shortcut . condition ?.( ) ?? true )
166166
167167 const tabs : { [ key : string ] : Tab } = {
168168 // eslint-disable-next-line id-length
@@ -182,7 +182,7 @@ const DevSessionUI: FunctionComponent<DevSesionUIProps> = ({
182182 < Text key = { shortcut . key } >
183183 { figures . pointerSmall } < Text bold > ({ shortcut . key } )</ Text > { ' ' }
184184 { terminalSupportsHyperlinks ( ) && shortcut . url ? (
185- < Link url = { shortcut . url } label = { shortcut . shortcutLabel ! } />
185+ < Link url = { shortcut . url } label = { shortcut . shortcutLabel } />
186186 ) : (
187187 shortcut . shortcutLabel
188188 ) }
@@ -198,7 +198,7 @@ const DevSessionUI: FunctionComponent<DevSesionUIProps> = ({
198198 { status . isReady && ! ( canUseShortcuts && terminalSupportsHyperlinks ( ) ) && (
199199 < >
200200 { activeShortcuts
201- . filter ( ( s ) => s . url )
201+ . filter ( ( shortcut ) => shortcut . url )
202202 . map ( ( shortcut ) => (
203203 < Text key = { shortcut . key } >
204204 { shortcut . linkLabel } URL: < Link url = { shortcut . url ! } />
You can’t perform that action at this time.
0 commit comments