Polish spacing

Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48644764

fbshipit-source-id: 1da41635f349da1d320c25175dd9a8d2b82d3c73
This commit is contained in:
Andrey Goncharov
2023-08-30 07:26:35 -07:00
committed by Facebook GitHub Bot
parent cb6dd36dc1
commit e5147784a9
2 changed files with 3 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ import {
} from './PowerSearchTerm';
import {useLatestRef} from '../../utils/useLatestRef';
import {useUpdateEffect} from 'react-use';
import {theme} from '../theme';
export {PowerSearchConfig};
@@ -91,7 +92,7 @@ export const PowerSearch: React.FC<PowerSearchProps> = ({
return (
<PowerSearchContainer>
<Space size={[0, 8]}>
<Space size={[theme.space.tiny, 0]}>
{searchExpression.map((searchTerm, i) => {
const isLastTerm = i === searchExpression.length - 1;