File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import * as bpcore from '@blueprintjs/core' ;
22import { TabId } from '@blueprintjs/core' ;
33import * as bpicons from '@blueprintjs/icons' ;
4+ import compat from 'es-toolkit/compat' ;
45import * as jsslang from 'js-slang' ;
56import * as jsslangDist from 'js-slang/dist' ;
6- import lodash from 'lodash' ;
77import phaser from 'phaser' ;
88import React , { useCallback } from 'react' ;
99import JSXRuntime from 'react/jsx-runtime' ;
@@ -35,7 +35,7 @@ const requireProvider = (x: string) => {
3535 '@blueprintjs/icons' : bpicons ,
3636 'js-slang' : jsslang ,
3737 'js-slang/dist' : jsslangDist ,
38- lodash,
38+ lodash : compat ,
3939 phaser
4040 } ;
4141
Original file line number Diff line number Diff line change 1- import * as _ from 'lodash ' ;
1+ import { isEqual } from 'es-toolkit ' ;
22
33/**
44 * Performs a deep comparison between the previous & next props state
@@ -9,4 +9,4 @@ import * as _ from 'lodash';
99 * @param nextProps The next state of the props passed into a component
1010 */
1111export const propsAreEqual = < T > ( prevProps : T , nextProps : T ) : boolean =>
12- _ . isEqual ( prevProps , nextProps ) ;
12+ isEqual ( prevProps , nextProps ) ;
You can’t perform that action at this time.
0 commit comments