Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Commit 68cf44c

Browse files
committed
fix: update @types/react and @types/react-dom to latest versions
1 parent b0a60d0 commit 68cf44c

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
"@semantic-release/changelog": "^6.0.3",
5858
"@semantic-release/git": "^10.0.1",
5959
"@types/node": "^24.5.2",
60-
"@types/react": "^19.1.13",
61-
"@types/react-dom": "^19.1.9",
60+
"@types/react": "^19.2.2",
61+
"@types/react-dom": "^19.2.1",
6262
"@vitejs/plugin-react": "^5.0.4",
6363
"eslint": "^9.36.0",
6464
"eslint-plugin-react": "^7.37.5",

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,12 @@ const SuperDocESign = forwardRef<any, Types.SuperDocESignProps>(
6464

6565
let updatePayload;
6666

67-
// For signature fields, always convert to image regardless of input
6867
if (signerField?.type === "signature" && field.value) {
6968
const imageUrl =
7069
typeof field.value === "string" &&
7170
field.value.startsWith("data:image/")
72-
? field.value // Already an image
73-
: textToImageDataUrl(String(field.value)); // Convert text to image
71+
? field.value
72+
: textToImageDataUrl(String(field.value));
7473

7574
updatePayload = {
7675
json: {

0 commit comments

Comments
 (0)