From 3c6ebbe6d5bf819bfb5ff04974bfc0d882fa629e Mon Sep 17 00:00:00 2001 From: ah7255703 Date: Thu, 7 Dec 2023 16:08:06 +0200 Subject: [PATCH] Fix imports --- dashboard/app/(main)/_parts/SearchModal.tsx | 3 ++- dashboard/components/domain/confetti-canvas.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dashboard/app/(main)/_parts/SearchModal.tsx b/dashboard/app/(main)/_parts/SearchModal.tsx index 6dca11950..6141cfeac 100644 --- a/dashboard/app/(main)/_parts/SearchModal.tsx +++ b/dashboard/app/(main)/_parts/SearchModal.tsx @@ -15,7 +15,6 @@ import { CommandList, CommandSeparator, } from "@/components/ui/command"; -import { searchModalAtom } from "@/app/_store/atoms/searchModal"; import { useAtom } from "jotai"; import { useHotkeys } from "react-hotkeys-hook"; import { EmptyBlock } from "@/components/domain/EmptyBlock"; @@ -23,6 +22,8 @@ import useSwr from "swr"; import { listCopilots } from "@/data/copilot"; import { useRouter } from "next/navigation"; import { Link } from "@/lib/router-events"; +import { searchModalAtom } from "@/app/_store/searchModal"; + export function SearchModal() { const [open, setOpen] = useAtom(searchModalAtom); useHotkeys("ctrl+/", (e) => { diff --git a/dashboard/components/domain/confetti-canvas.tsx b/dashboard/components/domain/confetti-canvas.tsx index 8cf310132..dcf29a48c 100644 --- a/dashboard/components/domain/confetti-canvas.tsx +++ b/dashboard/components/domain/confetti-canvas.tsx @@ -2,7 +2,7 @@ import React from 'react' import { useWindowSize } from 'react-use' import { default as ReactConfetti } from 'react-confetti' -import { useConfetti } from '@/app/_store/atoms/confetti'; +import { useConfetti } from '@/app/_store/confetti'; export default function Confetti() { const { width, height } = useWindowSize()