mirror of
https://github.com/strapi/strapi.git
synced 2025-11-04 11:54:10 +00:00
Fix upload filter picker
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
This commit is contained in:
parent
d2c59743c7
commit
937b002a1e
@ -1,8 +0,0 @@
|
|||||||
import styled from 'styled-components';
|
|
||||||
|
|
||||||
const Wrapper = styled.div`
|
|
||||||
position: relative;
|
|
||||||
padding-bottom: 6px;
|
|
||||||
`;
|
|
||||||
|
|
||||||
export default Wrapper;
|
|
||||||
@ -4,7 +4,6 @@ import { FormattedMessage } from 'react-intl';
|
|||||||
import { FilterIcon } from 'strapi-helper-plugin';
|
import { FilterIcon } from 'strapi-helper-plugin';
|
||||||
import { Picker } from '@buffetjs/core';
|
import { Picker } from '@buffetjs/core';
|
||||||
import FiltersCard from './FiltersCard';
|
import FiltersCard from './FiltersCard';
|
||||||
import Wrapper from './Wrapper';
|
|
||||||
|
|
||||||
import formatFilter from './utils/formatFilter';
|
import formatFilter from './utils/formatFilter';
|
||||||
|
|
||||||
@ -14,7 +13,6 @@ const FiltersPicker = ({ onChange }) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Wrapper>
|
|
||||||
<Picker
|
<Picker
|
||||||
renderButtonContent={() => (
|
renderButtonContent={() => (
|
||||||
<>
|
<>
|
||||||
@ -31,7 +29,6 @@ const FiltersPicker = ({ onChange }) => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</Wrapper>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user