From f10d341c58af2a245c8b3c22e9207a03cc89cb40 Mon Sep 17 00:00:00 2001 From: Aslam Date: Mon, 30 Sep 2024 20:47:39 +0700 Subject: [PATCH] refactor(shortcut): lowercase folder naming (#182) * refactor: lowercase folder shortcut naming * chore: rename and will be rename * chore: rename folder shortcut --- web/app/(pages)/layout.tsx | 2 +- web/components/custom/{Shortcut => shortcut}/shortcut.tsx | 0 web/components/custom/sidebar/partial/profile-section.tsx | 2 +- web/package.json | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename web/components/custom/{Shortcut => shortcut}/shortcut.tsx (100%) diff --git a/web/app/(pages)/layout.tsx b/web/app/(pages)/layout.tsx index 6f3decf8..0014c84c 100644 --- a/web/app/(pages)/layout.tsx +++ b/web/app/(pages)/layout.tsx @@ -2,7 +2,7 @@ import type { Viewport } from "next" import { Sidebar } from "@/components/custom/sidebar/sidebar" import { CommandPalette } from "@/components/custom/command-palette/command-palette" import { LearnAnythingOnboarding } from "@/components/custom/learn-anything-onboarding" -import { Shortcut } from "@/components/custom/Shortcut/shortcut" +import { Shortcut } from "@/components/custom/shortcut/shortcut" import { GlobalKeyboardHandler } from "@/components/custom/global-keyboard-handler" export const viewport: Viewport = { diff --git a/web/components/custom/Shortcut/shortcut.tsx b/web/components/custom/shortcut/shortcut.tsx similarity index 100% rename from web/components/custom/Shortcut/shortcut.tsx rename to web/components/custom/shortcut/shortcut.tsx diff --git a/web/components/custom/sidebar/partial/profile-section.tsx b/web/components/custom/sidebar/partial/profile-section.tsx index 09c73624..7c3047a9 100644 --- a/web/components/custom/sidebar/partial/profile-section.tsx +++ b/web/components/custom/sidebar/partial/profile-section.tsx @@ -20,7 +20,7 @@ import { Avatar, AvatarImage } from "@/components/ui/avatar" import { Button } from "@/components/ui/button" import { cn } from "@/lib/utils" import { Feedback } from "./feedback" -import { showShortcutAtom } from "@/components/custom/Shortcut/shortcut" +import { showShortcutAtom } from "@/components/custom/shortcut/shortcut" import { ShortcutKey } from "@/components/minimal-tiptap/components/shortcut-key" import { useKeyboardManager } from "@/hooks/use-keyboard-manager" diff --git a/web/package.json b/web/package.json index 14eb6bd1..4302419c 100644 --- a/web/package.json +++ b/web/package.json @@ -9,7 +9,7 @@ "test": "jest" }, "dependencies": { - "@clerk/nextjs": "^5.6.3", + "@clerk/nextjs": "^5.6.4", "@dnd-kit/core": "^6.1.0", "@dnd-kit/modifiers": "^7.0.0", "@dnd-kit/sortable": "^8.0.0",