hide 'from_location' checkbox

hide this checkbox in find friends feature. Just remove the UI
element without changing any logic
This commit is contained in:
Nuwan 2024-10-28 21:29:24 +05:30
parent b8b1146320
commit f2f6b978f8
1 changed files with 2 additions and 2 deletions

View File

@ -397,7 +397,7 @@ function JKPeopleFilter() {
render={({ field }) => <Select {...field} options={joinedOpts} id="selJoinedWithin" />} render={({ field }) => <Select {...field} options={joinedOpts} id="selJoinedWithin" />}
/> />
</div> </div>
<label className="form-label" htmlFor="from_location"> {/* <label className="form-label" htmlFor="from_location">
Search by My Location{' '} Search by My Location{' '}
</label> </label>
<div className="form-check"> <div className="form-check">
@ -407,7 +407,7 @@ function JKPeopleFilter() {
className="form-check-input" className="form-check-input"
onChange={e => setValue('from_location', e.target.checked)} onChange={e => setValue('from_location', e.target.checked)}
/> />
</div> </div> */}
</div> </div>
</div> </div>