The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix hidden copy button on production build for text fields (#12099)
Raphaël Bosie48b84f2413b
diff --git a/packages/twenty-front/src/modules/object-record/record-field/components/LightCopyIconButton.tsx b/packages/twenty-front/src/modules/object-record/record-field/components/LightCopyIconButton.tsxindex f94231405d2..7ec364bdc04 100644--- a/packages/twenty-front/src/modules/object-record/record-field/components/LightCopyIconButton.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/components/LightCopyIconButton.tsx@@ -23,7 +23,6 @@ export const LightCopyIconButton = ({ copyText }: LightCopyIconButtonProps) => {return (<StyledButtonContainer><LightIconButton- className="copy-button"Icon={IconCopy}onClick={() => {enqueueSnackBar(t`Text copied to clipboard`, {diff --git a/packages/twenty-front/src/modules/settings/playground/components/RestPlayground.tsx b/packages/twenty-front/src/modules/settings/playground/components/RestPlayground.tsxindex dfe48cc7fb0..3f9b04aea15 100644--- a/packages/twenty-front/src/modules/settings/playground/components/RestPlayground.tsx+++ b/packages/twenty-front/src/modules/settings/playground/components/RestPlayground.tsx@@ -31,7 +31,7 @@ const StyledContainer = styled.div`const ApiReferenceReact = lazy(() =>import('@scalar/api-reference-react').then((module) => {- import('@scalar/api-reference-react/style.css');+ import('@scalar/api-reference-react/style.css?inline');return {default: module.ApiReferenceReact,};