🔧 Simplify destructuring assignments for state variables in useChallongeTests

This commit is contained in:
2026-01-29 14:41:40 +00:00
parent a9c6454e8f
commit e6648f6ad0
2 changed files with 3 additions and 3 deletions

View File

@@ -33,8 +33,8 @@ export function useChallongeTests(client, apiVersion, tournamentScope) {
const tournamentDetailsState = useAsyncState();
// Destructure for easier access
const { data: tournaments, isLoading: loading, error } = tournamentListState;
const { isLoading: loadingMore } = loadMoreState;
const { data: tournaments, loading, error } = tournamentListState;
const { loading: loadingMore } = loadMoreState;
// Search and filter
const searchQuery = ref('');