fix(lint): resolve floating promise warnings
This commit is contained in:
@@ -24,8 +24,6 @@ export default function CommunityPage() {
|
||||
useEffect(() => {
|
||||
let cancelled = false
|
||||
|
||||
setPostsLoading(true)
|
||||
|
||||
Promise.all([listGames(), listPlayers(), Promise.resolve(listOrders()), listPosts()])
|
||||
.then(([gamesItems, playersItems, ordersItems, postsItems]) => {
|
||||
if (cancelled) return
|
||||
|
||||
Reference in New Issue
Block a user