Skip to content

Commit

Permalink
Fix eslint-plugin-react warning
Browse files Browse the repository at this point in the history
  • Loading branch information
asiia-trilitech committed Dec 11, 2024
1 parent 1343e14 commit aefb32a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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" }}
Expand Down
2 changes: 1 addition & 1 deletion packages/state/src/hooks/labels.ts
Original file line number Diff line number Diff line change
@@ -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) => {
Expand Down

0 comments on commit aefb32a

Please sign in to comment.