Skip to content

Commit 647ac72

Browse files
committed
Support auto-append through client flags
1 parent a6c5592 commit 647ac72

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/connect-react/src/components/append/AppendInitScreen.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ const AppendInitScreen = () => {
134134
setAttestationOptions(startAppendRes.val.attestationOptions);
135135
statefulLoader.current.finish();
136136

137-
if (startAppendRes.val.autoAppend) {
137+
log.debug('startAppendRes', startAppendRes, flags);
138+
if (startAppendRes.val.autoAppend || flags.hasSupportForAutomaticAppend()) {
138139
await handleSubmit(startAppendRes.val.attestationOptions, false);
139140
}
140141
};

0 commit comments

Comments
 (0)