@@ -293,7 +293,8 @@ const ContentMapper = forwardRef(({ handleStepChange }: contentMapperProps, ref:
293293 const [ isCsCTypeUpdated , setsCsCTypeUpdated ] = useState < boolean > ( false ) ;
294294 const [ isLoadingSaveButton , setisLoadingSaveButton ] = useState < boolean > ( false ) ;
295295 const [ activeFilter , setActiveFilter ] = useState < string > ( '' ) ;
296- const [ isAllCheck , setIsAllCheck ] = useState < boolean > ( false ) ;
296+ const [ isAllCheck , setIsAllCheck ] = useState < boolean > ( false ) ;
297+
297298
298299 /** ALL HOOKS Here */
299300 const { projectId = '' } = useParams ( ) ;
@@ -547,7 +548,6 @@ const ContentMapper = forwardRef(({ handleStepChange }: contentMapperProps, ref:
547548 } , [ contentTypeSchema ] ) ;
548549 useEffect ( ( ) => {
549550 if ( existingField && isCsCTypeUpdated ) {
550- setIsAllCheck ( false ) ;
551551 const matchedKeys = new Set < string > ( ) ;
552552
553553 contentTypeSchema ?. forEach ( ( item ) => {
@@ -832,7 +832,6 @@ const ContentMapper = forwardRef(({ handleStepChange }: contentMapperProps, ref:
832832
833833 // add row ids with their data to rowHistoryObj
834834 useEffect ( ( ) => {
835- setIsAllCheck ( false ) ;
836835 Object . keys ( rowHistoryObj ) ?. forEach ( key => delete rowHistoryObj [ key ] ) ;
837836 tableData ?. forEach ( item => {
838837 rowHistoryObj [ item ?. id ] = [ { checked : true , at : Date . now ( ) , ...modifiedObj ( item ) } ]
@@ -1002,7 +1001,6 @@ const ContentMapper = forwardRef(({ handleStepChange }: contentMapperProps, ref:
10021001 const handleValueChange = ( value : FieldTypes , rowIndex : string , rowContentstackFieldUid : string ) => {
10031002 setIsDropDownChanged ( true ) ;
10041003 setFieldValue ( value ) ;
1005- setIsAllCheck ( false ) ;
10061004 const updatedRows : FieldMapType [ ] = selectedEntries ?. map ?.( ( row ) => {
10071005 if ( row ?. uid === rowIndex && row ?. contentstackFieldUid === rowContentstackFieldUid ) {
10081006 return { ...row , contentstackFieldType : value ?. value } ;
@@ -1641,7 +1639,6 @@ const ContentMapper = forwardRef(({ handleStepChange }: contentMapperProps, ref:
16411639
16421640 const handleSaveContentType = async ( ) => {
16431641 setisLoadingSaveButton ( true ) ;
1644- setIsAllCheck ( false ) ;
16451642 const orgId = selectedOrganisation ?. uid ;
16461643 const projectID = projectId ;
16471644 if (
0 commit comments