File tree Expand file tree Collapse file tree
src/views/actionableError Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,10 +17,7 @@ type ActionableErrorMapEntry = {
1717 secondaryActions ?: ActionableErrorAction
1818}
1919
20- export const useActionableErrorMap = (
21- jobDetailCode : number ,
22- // setShowSupport: React.Dispatch<React.SetStateAction<boolean>>,
23- ) => {
20+ export const useActionableErrorMap = ( jobDetailCode : number ) => {
2421 const postMessageFunctions = useContext ( PostMessageContext )
2522 const initialConfig = useSelector ( selectInitialConfig )
2623 const dispatch = useDispatch ( )
@@ -33,7 +30,6 @@ export const useActionableErrorMap = (
3330 payload : initialConfig . mode || AGG_MODE ,
3431 } )
3532 }
36- // const goToSupport = () => setShowSupport(true)
3733 const goToCredentials = ( ) => dispatch ( { type : ActionTypes . ACTIONABLE_ERROR_LOG_IN_AGAIN } )
3834
3935 // AED Step 3: Add code mapping for new codes here
You can’t perform that action at this time.
0 commit comments