Skip to content

Commit

Permalink
Merge pull request #1891 from anth-volk/fix/1890-baseline-bar
Browse files Browse the repository at this point in the history
Properly size container div on PolicySearch
  • Loading branch information
anth-volk authored Jun 19, 2024
2 parents ff8732e + c0f97cd commit c309105
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/pages/policy/PolicySearch.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,21 +118,6 @@ export default function PolicySearch(props) {
);
setLastRequestTime(new Date().getTime());
setLastSearch(searchText);

/*
.then((data) => {
setPolicies(
data.result.map((item) => {
return {
value: item.id,
label: `#${item.id} ${item.label}`
};
}) || [],
);
setLastRequestTime(new Date().getTime());
setLastSearch(searchText);
});
*/
}
};

Expand All @@ -144,6 +129,7 @@ export default function PolicySearch(props) {
justifyContent: "flex-start",
alignItems: "flex-start",
gap: "10px",
width: "100%",
}}
>
<Space.Compact
Expand Down

0 comments on commit c309105

Please sign in to comment.