mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Remove unused showAllData
This commit is contained in:
parent
84fd823d84
commit
8b88eaed4b
1 changed files with 0 additions and 10 deletions
|
@ -13,14 +13,6 @@ const ConnectionInfo = () => {
|
|||
}
|
||||
}, [merchant]);
|
||||
|
||||
const toggleStatusClassName = [ 'ppcp-r-connection-status__status-toggle' ];
|
||||
|
||||
if ( connectionData.showAllData ) {
|
||||
toggleStatusClassName.push(
|
||||
'ppcp-r-connection-status__status-toggle--toggled'
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="ppcp-r-connection-status__data">
|
||||
{renderStatusRow(
|
||||
|
@ -44,7 +36,6 @@ export const getDefaultConnectionStatusData = (merchant = null) => {
|
|||
const contextMerchant = CommonHooks.useMerchantInfo()?.merchant || {};
|
||||
return {
|
||||
connectionStatus: contextMerchant.isConnected || false,
|
||||
showAllData: false,
|
||||
email: contextMerchant.email || '',
|
||||
merchantId: contextMerchant.id || '',
|
||||
clientId: contextMerchant.clientId || '',
|
||||
|
@ -53,7 +44,6 @@ export const getDefaultConnectionStatusData = (merchant = null) => {
|
|||
|
||||
return {
|
||||
connectionStatus: merchant.isConnected || false,
|
||||
showAllData: false,
|
||||
email: merchant.email || '',
|
||||
merchantId: merchant.id || '',
|
||||
clientId: merchant.clientId || '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue