mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-10 14:22:46 +02:00
revert that comment change that I somehow made
This commit is contained in:
@@ -97,7 +97,7 @@ export const useServerAuthenticated = () => {
|
||||
isAdmin: userInfo.isAdmin,
|
||||
});
|
||||
|
||||
// Fetch and update server version and featuresauthenticateServer
|
||||
// Fetch and update server version and features
|
||||
try {
|
||||
const serverInfo = await controller.getServerInfo({
|
||||
apiClientProps: {
|
||||
@@ -298,7 +298,7 @@ export const useServerAuthenticated = () => {
|
||||
await new Promise((resolve) => setTimeout(resolve, NETWORK_RETRY_DELAY_MS));
|
||||
|
||||
// Retry authentication
|
||||
// eslint-disable-next-line react-hooks/immutability
|
||||
|
||||
return authenticateServer(serverWithAuth, nextRetry);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user