File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
ui/src/components/LegacyCms/Actions Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ const LoadSelectCms = (props: LoadSelectCmsProps) => {
3737 //sconst selectedOrganisation = useSelector((state:RootState)=>state?.authentication?.selectedOrganisation);
3838
3939 const dispatch = useDispatch ( ) ;
40- const newMigrationDataRef = useRef ( newMigrationData ) ;
4140
4241 const [ cmsData , setCmsData ] = useState < ICMSType [ ] > ( [ ] ) ;
4342 const [ searchText ] = useState < string > ( '' ) ;
@@ -156,9 +155,6 @@ const LoadSelectCms = (props: LoadSelectCmsProps) => {
156155 filterCMSData ( searchText ) ;
157156 } , [ ] ) ;
158157
159- useEffect ( ( ) => {
160- newMigrationDataRef . current = newMigrationData ;
161- } , [ newMigrationData ] )
162158
163159 // Handle Legacy cms selection for single match
164160 // useEffect(() => {
You can’t perform that action at this time.
0 commit comments