Skip to content

Instantly share code, notes, and snippets.

View rajesh-gopidi-webflow's full-sized avatar

Rajesh Gopidi rajesh-gopidi-webflow

View GitHub Profile
@rajesh-gopidi-webflow
rajesh-gopidi-webflow / gist:d8d04fce93fa2f448a95f0ea384f677b
Created November 5, 2024 00:48
Cancel Billing Subscription API Billing Permissions test diff
diff --git a/entrypoints/dashboard/client/src/components/Checkout/Wrappers/PermissionWrapper.jsx b/entrypoints/dashboard/client/src/components/Checkout/Wrappers/PermissionWrapper.jsx
index 33a5a7496877..b65f92a7f5e7 100644
--- a/entrypoints/dashboard/client/src/components/Checkout/Wrappers/PermissionWrapper.jsx
+++ b/entrypoints/dashboard/client/src/components/Checkout/Wrappers/PermissionWrapper.jsx
@@ -27,7 +27,5 @@ export const PermissionWrapper = (props) => {
canAccess = false;
}
- return canAccess
- ? props.children