From 8c4320498c782044cdf7637d6bfcb1b2e99dd213 Mon Sep 17 00:00:00 2001 From: Ane Date: Fri, 30 Aug 2024 10:58:11 +0200 Subject: [PATCH] Prettier fix --- studio/components/CustomToolMenu.tsx | 10 +++++----- studio/components/linkButton/linkButton.module.css | 10 +++++----- studio/sanity.config.ts | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/studio/components/CustomToolMenu.tsx b/studio/components/CustomToolMenu.tsx index 233ec2c96..8f9eb40b7 100644 --- a/studio/components/CustomToolMenu.tsx +++ b/studio/components/CustomToolMenu.tsx @@ -1,6 +1,6 @@ -import { ToolMenuProps } from 'sanity'; -import { Inline } from '@sanity/ui'; -import { LinkButton } from './linkButton/LinkButton'; +import { ToolMenuProps } from "sanity"; +import { Inline } from "@sanity/ui"; +import { LinkButton } from "./linkButton/LinkButton"; export default function CustomToolMenu(props: ToolMenuProps) { return ( @@ -8,5 +8,5 @@ export default function CustomToolMenu(props: ToolMenuProps) { {props.renderDefault(props)} - ) -} \ No newline at end of file + ); +} diff --git a/studio/components/linkButton/linkButton.module.css b/studio/components/linkButton/linkButton.module.css index 5d13c3d5b..b7ed5d007 100644 --- a/studio/components/linkButton/linkButton.module.css +++ b/studio/components/linkButton/linkButton.module.css @@ -4,22 +4,22 @@ list-style: none; text-decoration: none; white-space: nowrap; - border-radius: 3px ; + border-radius: 3px; padding: 0.2rem 0.5rem; } .wrapper:hover { - background: #F5F5F7; + background: #f5f5f7; } .text { display: flex; align-items: center; - text-decoration: block; + text-decoration: block; font-weight: 500; - color: #323545; + color: #323545; letter-spacing: 0; font-size: 13px; gap: 0.2rem; line-height: 19px; -} \ No newline at end of file +} diff --git a/studio/sanity.config.ts b/studio/sanity.config.ts index 4e93878b2..ef1aa6237 100644 --- a/studio/sanity.config.ts +++ b/studio/sanity.config.ts @@ -22,7 +22,7 @@ export default defineConfig({ studio: { components: { toolMenu: CustomToolMenu, - } + }, }, plugins: [ structureTool({