Skip to content

Commit

Permalink
fix(events): remove lodash/assign usage (#63148)
Browse files Browse the repository at this point in the history
Removes `lodash/assign` and replaces it with `Object.assign()`

Ref: https://github.com/getsentry/frontend-tsc/issues/55
  • Loading branch information
anonrig authored Jan 12, 2024
1 parent 5faf50a commit 19f0bea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions static/app/components/events/searchBar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {useEffect, useMemo} from 'react';
import assign from 'lodash/assign';
import flatten from 'lodash/flatten';
import memoize from 'lodash/memoize';
import omit from 'lodash/omit';
Expand Down Expand Up @@ -249,7 +248,7 @@ function SearchBar(props: SearchBarProps) {
)
: Object.assign({}, STATIC_FIELD_TAGS_WITHOUT_TRACING);

assign(combinedTags, tagsWithKind, STATIC_FIELD_TAGS, STATIC_SEMVER_TAGS);
Object.assign(combinedTags, tagsWithKind, STATIC_FIELD_TAGS, STATIC_SEMVER_TAGS);

combinedTags.has = {
key: FieldKey.HAS,
Expand Down

0 comments on commit 19f0bea

Please sign in to comment.