Builder.io
OSS
@builder.io/sdks
fix[smartling]: fix Clear translation metadata button not working `content.meta` is a MobX observable Map; calling `fastClone` on it (JSON.parse/JSON.stringify) serialises it as `{}`, so the subsequent `delete` calls were no-ops and `updateLatestDraft` was called with an empty meta object instead of the correctly-stripped one. Replace `fastClone(content.meta)` with `{ ...content.meta?.toJS() }` to match the identical pattern already used in the backend's `cleanupOrphanedTranslationMetadata` helper in `smartling.ts`. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
nx test @snippet/react
Sign in / Sign up
Open main menu
Failed
CI Pipeline Execution
nx test @snippet/react
Click to copy
Linux
4 CPU cores
read-write
access token used
c67cd656
4544