From de819228a820a00891389b59465c3b9c9104750a Mon Sep 17 00:00:00 2001 From: Tobias Barsnes Date: Tue, 5 Nov 2024 13:47:16 +0100 Subject: [PATCH] chore(figma-plugin): use `data-size` (#2734) We will make a separate PR where we can typecheck everything at once in one workflow. --- .github/workflows/checks.yml | 1 + plugins/figma/src/ui/app.tsx | 2 +- plugins/figma/src/ui/components/Footer/Footer.tsx | 4 +--- plugins/figma/src/ui/pages/Theme/Theme.tsx | 6 ++---- plugins/figma/src/ui/pages/Themes/Themes.tsx | 2 +- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 29670a4943..b4c9f56879 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -5,6 +5,7 @@ on: paths: - 'packages/**' - 'apps/**' + - 'plugins/**' - 'biome.jsonc' jobs: checks: diff --git a/plugins/figma/src/ui/app.tsx b/plugins/figma/src/ui/app.tsx index e57326d985..676ca02464 100644 --- a/plugins/figma/src/ui/app.tsx +++ b/plugins/figma/src/ui/app.tsx @@ -15,7 +15,7 @@ function App() { const dsMode = useDsMode(); return ( -
+
} /> diff --git a/plugins/figma/src/ui/components/Footer/Footer.tsx b/plugins/figma/src/ui/components/Footer/Footer.tsx index dac6861ccb..9c53a097a5 100644 --- a/plugins/figma/src/ui/components/Footer/Footer.tsx +++ b/plugins/figma/src/ui/components/Footer/Footer.tsx @@ -20,9 +20,7 @@ export const Footer = () => {
*/}
- {loading && ( - - )} + {loading && }
V {packageJson.version}
diff --git a/plugins/figma/src/ui/pages/Theme/Theme.tsx b/plugins/figma/src/ui/pages/Theme/Theme.tsx index 61efa9ddcb..4c1355da45 100644 --- a/plugins/figma/src/ui/pages/Theme/Theme.tsx +++ b/plugins/figma/src/ui/pages/Theme/Theme.tsx @@ -97,7 +97,7 @@ function Theme() {
- +
- + Gå til{' '} Temabyggeren @@ -120,7 +120,6 @@ function Theme() {