mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-11 08:35:42 -04:00
Fix
This commit is contained in:
@@ -114,8 +114,7 @@ function formatFilters(filters: Partial<FilterFieldsWithLocation>): ReactElement
|
||||
stringValue = str.charAt(0).toUpperCase() + str.slice(1)
|
||||
}
|
||||
|
||||
let display: ReactElement
|
||||
display = key === 'name'
|
||||
const display: ReactElement = key === 'name'
|
||||
? <i>{stringValue as string}</i>
|
||||
: <>{stringValue}</>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user