Skip to content

Commit

Permalink
fixup! build
Browse files Browse the repository at this point in the history
  • Loading branch information
kapetr committed Nov 1, 2024
1 parent cff9a43 commit f17eec8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/layout/shell/UserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import { CODE_ESCAPE } from 'keycode-js';
import { signOut } from 'next-auth/react';
import { KeyboardEventHandler, useId, useMemo, useRef, useState } from 'react';
import { useOnClickOutside } from 'usehooks-ts';
import { UserSettingsModal } from '../user-settings/UserSettingsModal';
import { TermsOfUseModal } from './TermsOfUseModal';
import classes from './UserProfile.module.scss';
import { Link } from '@/components/Link/Link';
Expand Down
2 changes: 1 addition & 1 deletion src/modules/projects/manage/CreateProjectModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function CreateProjectModal({
const queryClient = useQueryClient();
const router = useRouter();

const { data: projects } = useProjects();
const { data: projects } = useProjects({});

const projectNames = useMemo(
() => projects?.projects.map(({ name }) => name),
Expand Down
2 changes: 1 addition & 1 deletion src/modules/projects/manage/RenameModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function RenameModal({ project, ...props }: Props) {
const { id, name } = project;
const queryClient = useQueryClient();

const { data: projects } = useProjects();
const { data: projects } = useProjects({});

const { mutateAsync } = useMutation({
mutationFn: (newName: string) => updateProject(id, { name: newName }),
Expand Down

0 comments on commit f17eec8

Please sign in to comment.