mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-07-21 06:43:28 +03:00
feat: migrate to _ locales handler
This commit is contained in:
@@ -2,7 +2,7 @@ export async function withTimeout<T>(
|
||||
promise: Promise<T>,
|
||||
timeoutMs: number,
|
||||
operationName: string,
|
||||
timeoutMessage = 'Operation timed out',
|
||||
timeoutMessage = _('Operation timed out'),
|
||||
): Promise<T> {
|
||||
let timeoutId;
|
||||
const start = performance.now();
|
||||
|
||||
Reference in New Issue
Block a user