From aefb32a1926f7a23f9b975ca7c9723e533ef4f22 Mon Sep 17 00:00:00 2001 From: Ana Maksimovskikh Date: Tue, 26 Nov 2024 17:30:13 +0000 Subject: [PATCH] Fix eslint-plugin-react warning --- apps/web/src/Layout.tsx | 2 +- packages/state/src/hooks/labels.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/Layout.tsx b/apps/web/src/Layout.tsx index b2f7bcb24d..6e6027c416 100644 --- a/apps/web/src/Layout.tsx +++ b/apps/web/src/Layout.tsx @@ -73,7 +73,7 @@ export const Layout = () => { gridTemplateColumns={{ base: "1fr", md: "340px minmax(min-content, 1060px)" }} gridTemplateAreas={{ base: '"header" "sidebar" "main" "footer" "nav"', - md: `"header header" "sidebar nav" "sidebar main" "footer main"`, + md: '"header header" "sidebar nav" "sidebar main" "footer main"', }} height={{ md: "100vh" }} minHeight={{ base: "100dvh" }} diff --git a/packages/state/src/hooks/labels.ts b/packages/state/src/hooks/labels.ts index 7bb25cb469..5c8caf2458 100644 --- a/packages/state/src/hooks/labels.ts +++ b/packages/state/src/hooks/labels.ts @@ -1,7 +1,7 @@ import { useAllContacts } from "./contacts"; import { useAllAccounts } from "./getAccountData"; -export const PROHIBITED_CHARACTERS = `/\\"'<>:{}$#|\`\t\r\n`.split(""); +export const PROHIBITED_CHARACTERS = "/\\\"'<>:{}$#|`\t\r\n".split(""); /** Hook for validating name for account or contact. */ export const useValidateName = (oldName?: string | undefined) => {