diff --git a/apps/docs/components/AppleSecretGenerator/AppleSecretGenerator.tsx b/apps/docs/components/AppleSecretGenerator/AppleSecretGenerator.tsx index 1184e409bbd..04936737eba 100644 --- a/apps/docs/components/AppleSecretGenerator/AppleSecretGenerator.tsx +++ b/apps/docs/components/AppleSecretGenerator/AppleSecretGenerator.tsx @@ -104,7 +104,7 @@ const AppleSecretGenerator = () => { const [error, setError] = useState('') return ( - <> +
{ /> )} - +
) } diff --git a/packages/ui/src/lib/Layout/FormLayout/FormLayout.tsx b/packages/ui/src/lib/Layout/FormLayout/FormLayout.tsx index 3fb9827de7f..d5c65738d29 100644 --- a/packages/ui/src/lib/Layout/FormLayout/FormLayout.tsx +++ b/packages/ui/src/lib/Layout/FormLayout/FormLayout.tsx @@ -116,7 +116,7 @@ export function FormLayout({ // console.log('error', error) - const renderError = ( + const renderError = error && (