Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwisecodes committed Nov 26, 2024
1 parent c0a6242 commit 0e499f9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import useAnalytics from "@/lib/analytics/useAnalytics";

export function OpenSideBarButton({
setOpenSidebar,
}: {
}: Readonly<{
setOpenSidebar: (value: boolean) => void;
}) {
}>) {
const { trackEvent } = useAnalytics();

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ import { trpc } from "@/utils/trpc";

import ModalFooterButtons from "./ModalFooterButtons";

const ClearChatHistory = ({ closeDialog }: { closeDialog: () => void }) => {
const ClearChatHistory = ({
closeDialog,
}: Readonly<{ closeDialog: () => void }>) => {
const router = useRouter();

const { setOpenSidebar } = useDialog();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import ModalFooterButtons from "./ModalFooterButtons";

const ClearSingleChatFromChatHistory = ({
closeDialog,
}: {
}: Readonly<{
closeDialog: () => void;
}) => {
}>) => {
const { dialogProps, setDialogProps, setOpenSidebar } = useDialog();
const { mutate, isLoading } =
trpc.chat.appSessions.deleteChatById.useMutation({
Expand Down

0 comments on commit 0e499f9

Please sign in to comment.