fix sort order in states for space app (#5374)

This commit is contained in:
rahulramesha 2024-08-16 16:47:07 +05:30 committed by GitHub
parent 0a1c656865
commit 89633d8b2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ type Props = {
export const AppliedStateFilters: React.FC<Props> = observer((props) => {
const { handleRemove, values } = props;
const { states } = useStates();
const { sortedStates: states } = useStates();
return (
<>

View File

@ -18,7 +18,7 @@ type Props = {
export const FilterState: React.FC<Props> = observer((props) => {
const { appliedFilters, handleUpdate, searchQuery } = props;
const { states } = useStates();
const { sortedStates: states } = useStates();
const [itemsToRender, setItemsToRender] = useState(5);
const [previewEnabled, setPreviewEnabled] = useState(true);