diff --git a/src/pages/exchangecode/copyCode/index.jsx b/src/pages/exchangecode/copyCode/index.jsx index b0569d74..2fab3751 100644 --- a/src/pages/exchangecode/copyCode/index.jsx +++ b/src/pages/exchangecode/copyCode/index.jsx @@ -134,7 +134,7 @@ export default class acclist extends React.Component { if ( sessionStorage.getItem('productsList') && - JSON.parse(sessionStorage.getItem('productsList')).length > 1 + JSON.parse(sessionStorage.getItem('productsList'))?.length > 1 ) { return }