Skip to content

Commit 59f0330

Browse files
committed
style: fix biome formatting in example app
1 parent c9fe67b commit 59f0330

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

apps/example/src/demos/PerformanceDemo.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,7 @@ function TimingBadge({ timeMs }: { timeMs: number | undefined }) {
8686

8787
// ─── Native test run ─────────────────────────────────────────────────────────
8888

89-
function NativeTestRun({
90-
onAllDone,
91-
}: {
92-
onAllDone: (results: TimingResult[]) => void;
93-
}) {
89+
function NativeTestRun({ onAllDone }: { onAllDone: (results: TimingResult[]) => void }) {
9490
const startTime = useRef(performance.now()).current;
9591
const [times, setTimes] = useState<Record<string, number>>({});
9692
const reportedRef = useRef(false);
@@ -129,9 +125,7 @@ function NativeTestRun({
129125
}}
130126
>
131127
<VisibilityProbe label="Text" onVisible={handleVisible} startTime={startTime}>
132-
<Text
133-
style={{ fontFamily: FONT_REGULAR, fontSize: FONT_SIZE, color: colors.text }}
134-
>
128+
<Text style={{ fontFamily: FONT_REGULAR, fontSize: FONT_SIZE, color: colors.text }}>
135129
{FORMATTED_VALUE}
136130
</Text>
137131
</VisibilityProbe>
@@ -513,7 +507,7 @@ export const PerformanceDemoSkia = () => {
513507
</Text>
514508
{coldAvg !== null && (
515509
<Text style={{ fontSize: 12, color: colors.textSecondary, fontFamily: "monospace" }}>
516-
Cold ({coldRuns.length}) {coldAvg.toFixed(1).padStart(7)}ms
510+
Cold ({coldRuns.length}) {coldAvg.toFixed(1).padStart(7)}ms
517511
</Text>
518512
)}
519513
{cachedAvg !== null && (

0 commit comments

Comments
 (0)