Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
Merge pull request #378 from openchatai/dashboard/minor-polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
faltawy authored Dec 7, 2023
2 parents 423639b + 3c6ebbe commit ea0a0a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dashboard/app/(main)/_parts/SearchModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ 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";
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) => {
Expand Down
2 changes: 1 addition & 1 deletion dashboard/components/domain/confetti-canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit ea0a0a6

Please sign in to comment.