diff options
Diffstat (limited to 'apps/website/src/components/logos')
-rw-r--r-- | apps/website/src/components/logos/Logo.astro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/website/src/components/logos/Logo.astro b/apps/website/src/components/logos/Logo.astro index 0532396..2fd6bea 100644 --- a/apps/website/src/components/logos/Logo.astro +++ b/apps/website/src/components/logos/Logo.astro @@ -10,7 +10,7 @@ export interface Props extends HTMLAttributes<"svg"> { silent?: boolean, } -const { +const { logo, silent = false, size = undefined, @@ -44,7 +44,7 @@ try { svg = svg.replace(/<svg/, `<svg ${Object.entries(attr).map(([key, value]) => `${key}="${value}"`).join(" ")}`); } catch (err) { - if (typeof silent != "boolean" || silent == false) console.error(err); + } --- |