Skip to content

Commit

Permalink
Fix antd version issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasaifee42 committed Jun 20, 2024
1 parent 8abe915 commit 82f8325
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions src/WDLVisualization/GrapherComponent/Settings/Filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ export function Filters(props: Props) {
className='undp-select'
mode='multiple'
maxTagCount='responsive'
allowClear={{ clearIcon: <div className='clearIcon' /> }}
allowClear
clearIcon={<div className='clearIcon' />}
style={{ width: '100%' }}
placeholder='All regions'
value={selectedRegions}
Expand Down Expand Up @@ -84,7 +85,8 @@ export function Filters(props: Props) {
className='undp-select'
mode='multiple'
maxTagCount='responsive'
allowClear={{ clearIcon: <div className='clearIcon' /> }}
allowClear
clearIcon={<div className='clearIcon' />}
style={{ width: '100%' }}
placeholder='All Income Groups'
value={selectedCountryIncomeGroups}
Expand Down Expand Up @@ -127,7 +129,8 @@ export function Filters(props: Props) {
className='undp-select'
mode='multiple'
maxTagCount='responsive'
allowClear={{ clearIcon: <div className='clearIcon' /> }}
allowClear
clearIcon={<div className='clearIcon' />}
style={{ width: '100%' }}
value={selectedCountries}
placeholder='All Countries'
Expand Down
4 changes: 2 additions & 2 deletions src/WDLVisualization/GrapherComponent/Settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export function Settings(props: Props) {
onChange={d => {
setAgeGroup(d as [number, number]);
}}
onChangeComplete={d => {
onAfterChange={d => {
updateAgeRange(d as [number, number]);
}}
dots
Expand Down Expand Up @@ -233,7 +233,7 @@ export function Settings(props: Props) {
onChange={d => {
setIncomeGroup(d as [number, number]);
}}
onChangeComplete={d => {
onAfterChange={d => {
updateIncomeRange(
d[1] === 125 ? [d[0], 999] : (d as [number, number]),
);
Expand Down

0 comments on commit 82f8325

Please sign in to comment.