We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16d9166 + 1c6c775 commit 73ce72eCopy full SHA for 73ce72e
1 file changed
packages/web/src/component/TestPlay.tsx
@@ -181,7 +181,9 @@ export default function TestPlay(props: TestPlayProps) {
181
182
useEffect(() => {
183
const fetchUsers = async () => {
184
- const response = await getUsers();
+ const response = await getUsers().then((rawUsers) =>
185
+ rawUsers.filter((user) => typeof user.program === "string")
186
+ );
187
const copy = response
188
.filter((user) => user.id !== currentUser.id)
189
.slice();
0 commit comments