mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-15 16:04:19 +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,
|
isAdmin: userInfo.isAdmin,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Fetch and update server version and featuresauthenticateServer
|
// Fetch and update server version and features
|
||||||
try {
|
try {
|
||||||
const serverInfo = await controller.getServerInfo({
|
const serverInfo = await controller.getServerInfo({
|
||||||
apiClientProps: {
|
apiClientProps: {
|
||||||
@@ -298,7 +298,7 @@ export const useServerAuthenticated = () => {
|
|||||||
await new Promise((resolve) => setTimeout(resolve, NETWORK_RETRY_DELAY_MS));
|
await new Promise((resolve) => setTimeout(resolve, NETWORK_RETRY_DELAY_MS));
|
||||||
|
|
||||||
// Retry authentication
|
// Retry authentication
|
||||||
// eslint-disable-next-line react-hooks/immutability
|
|
||||||
return authenticateServer(serverWithAuth, nextRetry);
|
return authenticateServer(serverWithAuth, nextRetry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user