1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-24 17:51:14 +02:00

remove comments

This commit is contained in:
Thomas Heartman 2025-09-23 13:55:46 +02:00
parent 5d979b3df3
commit 82c5ca8fef
No known key found for this signature in database
GPG Key ID: BD1F880DAED1EE78

View File

@ -34,7 +34,6 @@ const columnHelper = createColumnHelper<ChangeRequestSearchItemSchema>();
const ChangeRequestsInner = () => {
const { user } = useAuthUser();
// Check URL parameters directly to avoid double fetching
const shouldApplyDefaults = useMemo(() => {
const urlParams = new URLSearchParams(window.location.search);
return (
@ -53,7 +52,6 @@ const ChangeRequestsInner = () => {
requestedApproverId: FilterItemParam,
};
// Apply initial defaults if needed
const initialState = shouldApplyDefaults
? {
createdBy: {
@ -67,7 +65,6 @@ const ChangeRequestsInner = () => {
updateType: 'replaceIn',
});
// Merge with initial state on first load only
const effectiveTableState = useMemo(
() => ({
...initialState,
@ -111,7 +108,6 @@ const ChangeRequestsInner = () => {
},
}) => {
const features = getValue();
// Convert string array to object array for FeaturesCell compatibility
const featureObjects = features.map((name: string) => ({
name,
}));