Skip to content

Commit beb0c1d

Browse files
committed
fix: remove room in booths list
1 parent 2dfb013 commit beb0c1d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api/get_booths.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ export async function get_booths() {
88
const data = await res.json()
99
const booths = data.reduce(
1010
(acc: any, item: any) => {
11+
if (item.type !== 'BOOTHS') return acc
12+
1113
acc[item.name] = item
1214
return acc
1315
}, {}

0 commit comments

Comments
 (0)