mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
chore(lint): replace ESLint with Oxlint and clear anti-slop findings
This commit is contained in:
1 parent
c6c13335e5
commit
b625acfc0c
1083 files changed
+67089
-80136
No files matched your search
@@ -62,12 +62,7 @@ export function useOpenCodeServers(options: { enabled?: boolean } = {}) {
|
||||
return {
|
||||
servers: serversQuery.data ?? [],
|
||||
isLoading: serversQuery.isLoading,
|
||||
/**
|
||||
* True only while no server list is cached, no error settled and the fetch is not paused, so a
|
||||
* restore is not read as a missing server and an offline pause is not read as a load.
|
||||
*/
|
||||
showsInitialLoading: serversListState.showsInitialLoading && !isPaused,
|
||||
/** True while TanStack Query holds the server list fetch because the browser is offline. */
|
||||
isPaused,
|
||||
isSuccess: serversQuery.isSuccess,
|
||||
error: serversQuery.error,
|
||||
|
||||
Reference in new issue
Block a user