From cdeebd05f84feb53f83223caa19af0971fc3dd65 Mon Sep 17 00:00:00 2001 From: Z8MB1E Date: Sun, 16 Aug 2026 23:27:51 -0400 Subject: [PATCH] style(static): format payload admin static components --- src/components/static/GoToFrontendLink.tsx | 4 +++- src/components/static/TickDurationDescription.tsx | 2 +- src/components/static/VersionOverlay.tsx | 4 +--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/static/GoToFrontendLink.tsx b/src/components/static/GoToFrontendLink.tsx index d3ec60f..1bcdbcd 100644 --- a/src/components/static/GoToFrontendLink.tsx +++ b/src/components/static/GoToFrontendLink.tsx @@ -4,7 +4,9 @@ import { Button } from "@payloadcms/ui"; export const GoToFrontendLink = () => { return ( - + ); }; diff --git a/src/components/static/TickDurationDescription.tsx b/src/components/static/TickDurationDescription.tsx index 2e14f71..f96c9ea 100644 --- a/src/components/static/TickDurationDescription.tsx +++ b/src/components/static/TickDurationDescription.tsx @@ -1,6 +1,6 @@ "use client"; -import { useField, useFormFields } from "@payloadcms/ui"; +import { useField } from "@payloadcms/ui"; const calculateTicks = (value: number) => { const totalMinutes = value * 10; diff --git a/src/components/static/VersionOverlay.tsx b/src/components/static/VersionOverlay.tsx index 619bfcc..e83d7f2 100644 --- a/src/components/static/VersionOverlay.tsx +++ b/src/components/static/VersionOverlay.tsx @@ -60,9 +60,7 @@ const VersionOverlay = () => { return (
- - version {versionLabel} - + version {versionLabel} {showSecondary && ( {lastUpdated && <>last updated {lastUpdated}}