fix(#2): state checking

This commit is contained in:
2026-03-10 16:41:26 +01:00
parent 0ffd1e52ae
commit 3fb0f7166b
4 changed files with 14 additions and 7 deletions

View File

@@ -128,7 +128,7 @@ export default function UserSelectModal({ onClose }: { onClose: () => void }) {
const [isCreating, setIsCreating] = useState(false);
const [isEditing, setIsEditing] = useState(false);
const [error, setError] = useState('');
const [usersData, setUsersData] = useAtom(usersAtom);
const [usersData] = useAtom(usersAtom);
const users = usersData.users;
const [currentUser] = useAtom(currentUserAtom);