diff --git a/packages/frontend/src/os.ts b/packages/frontend/src/os.ts index c4feccdb56..f04aced4db 100644 --- a/packages/frontend/src/os.ts +++ b/packages/frontend/src/os.ts @@ -34,7 +34,7 @@ export const apiWithDialog = ( { let title: string | undefined; - let text = err.message + '\n' + (err as any).id; + let text = err.message + '\n' + err.id; if (err.code === 'INTERNAL_ERROR') { title = i18n.ts.internalServerError; text = i18n.ts.internalServerErrorDescription;