From 3751f52055ba2d4057d3ea8e574cf9dc928d78ea Mon Sep 17 00:00:00 2001 From: mirivlad Date: Wed, 17 Jun 2026 18:51:20 +0800 Subject: [PATCH] fix(platform-test): badge div call syntax - badgeRow was created with 3rd arg to div(className, children) which was ignored - Fix: div('', [badge]) wraps badge properly so Frontend Bundle Loaded text renders --- plugins/platform-test/frontend/dist/index.js | 2 +- plugins/platform-test/frontend/src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/platform-test/frontend/dist/index.js b/plugins/platform-test/frontend/dist/index.js index 04656c5..9bc1e5f 100644 --- a/plugins/platform-test/frontend/dist/index.js +++ b/plugins/platform-test/frontend/dist/index.js @@ -79,7 +79,7 @@ el('span', {}, ['✅']), el('span', {}, ['Frontend Bundle Loaded']), ]); - var badgeRow = div('', { style: { marginBottom: '1rem' } }, [badge]); + var badgeRow = div('', [badge]); /* ── Test results summary ──────────────────────────────────── */ var testsData = [ diff --git a/plugins/platform-test/frontend/src/index.js b/plugins/platform-test/frontend/src/index.js index 04656c5..9bc1e5f 100644 --- a/plugins/platform-test/frontend/src/index.js +++ b/plugins/platform-test/frontend/src/index.js @@ -79,7 +79,7 @@ el('span', {}, ['✅']), el('span', {}, ['Frontend Bundle Loaded']), ]); - var badgeRow = div('', { style: { marginBottom: '1rem' } }, [badge]); + var badgeRow = div('', [badge]); /* ── Test results summary ──────────────────────────────────── */ var testsData = [