diff --git a/inlang/source-code/editor/src/pages/@host/@owner/@repository/components/Gitfloat.tsx b/inlang/source-code/editor/src/pages/@host/@owner/@repository/components/Gitfloat.tsx index d1d8b7acdb..78f7a74c3e 100644 --- a/inlang/source-code/editor/src/pages/@host/@owner/@repository/components/Gitfloat.tsx +++ b/inlang/source-code/editor/src/pages/@host/@owner/@repository/components/Gitfloat.tsx @@ -193,7 +193,8 @@ export const Gitfloat = () => { sucess: pushResult.error === undefined, }) - if (pushResult.error?.data?.statusCode === 403) { + // @ts-expect-error – unknown type error for cause + if (pushResult.error?.cause?.data.statusCode === 403) { pushPermissionDialog.show() return }