Skip to content

Commit b53ae0a

Browse files
committed
people dont like lodash around here
1 parent 0a33824 commit b53ae0a

File tree

1 file changed

+2
-2
lines changed
  • src/sentry/static/sentry/app

1 file changed

+2
-2
lines changed

src/sentry/static/sentry/app/api.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {isUndefined, isNil, get, isFunction} from 'lodash';
1+
import {isUndefined, isNil, get} from 'lodash';
22
import $ from 'jquery';
33
import * as Sentry from '@sentry/browser';
44

@@ -398,7 +398,7 @@ export class Client {
398398
_chain<Args extends any[]>(...funcs: Array<((...args: Args) => any) | undefined>) {
399399
const filteredFuncs = funcs.filter(
400400
(f): f is (...args: Args) => any => {
401-
return isFunction(f);
401+
return typeof f === 'function';
402402
}
403403
);
404404
return (...args: Args): void => {

0 commit comments

Comments
 (0)