File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
packages/app/src/app/pages/common/Modals Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- import React from 'react' ;
1+ import React , { FunctionComponent } from 'react' ;
2+
23import { useOvermind } from 'app/overmind' ;
34import SearchDependencies from 'app/pages/Sandbox/SearchDependencies' ;
45
5- function SearchDependenciesModal ( ) {
6+ export const SearchDependenciesModal : FunctionComponent = ( ) => {
67 const {
78 actions : {
89 editor : { addNpmDependency } ,
910 } ,
1011 } = useOvermind ( ) ;
12+
1113 return (
1214 < SearchDependencies
1315 onConfirm = { ( name , version ) => addNpmDependency ( { name, version } ) }
1416 />
1517 ) ;
16- }
17-
18- export default SearchDependenciesModal ;
18+ } ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import { NetlifyLogs } from './NetlifyLogs';
2727import { PickSandboxModal } from './PickSandboxModal' ;
2828import PreferencesModal from './PreferencesModal' ;
2929import PRModal from './PRModal' ;
30- import SearchDependenciesModal from './SearchDependenciesModal' ;
30+ import { SearchDependenciesModal } from './SearchDependenciesModal' ;
3131import { SelectSandboxModal } from './SelectSandboxModal' ;
3232import { ShareModal } from './ShareModal' ;
3333import SignInForTemplates from './SignInForTemplates' ;
You can’t perform that action at this time.
0 commit comments