Merge Tag v0.2.20

This commit is contained in:
2025-06-13 21:43:12 +02:00
19 changed files with 162 additions and 85 deletions

View File

@@ -2,8 +2,7 @@
import { signIn } from '@/app/actions/user';
import { toast } from '@/hooks/use-toast';
import { usersAtom } from '@/lib/atoms';
import { useHelpers } from '@/lib/client-helpers';
import { currentUserAtom, usersAtom } from '@/lib/atoms';
import { SafeUser, User } from '@/lib/types';
import { cn } from '@/lib/utils';
import { Description } from '@radix-ui/react-dialog';
@@ -131,7 +130,7 @@ export default function UserSelectModal({ onClose }: { onClose: () => void }) {
const [error, setError] = useState('');
const [usersData, setUsersData] = useAtom(usersAtom);
const users = usersData.users;
const { currentUser } = useHelpers();
const [currentUser] = useAtom(currentUserAtom);
const handleUserSelect = (userId: string) => {