Skip to content

Commit aa22af3

Browse files
fix(dashboard): Remove unused ts-expect-error
1 parent 472b463 commit aa22af3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

apps/dashboard/src/components/workflow-editor/steps/email/maily-config.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,9 @@ export const createExtensions = (props: {
285285

286286
if (isTextVariable || isUrlVariable) {
287287
const aliasFor = resolveRepeatBlockAlias(isTextVariable ? (text ?? '') : (url ?? ''), editor);
288-
// @ts-expect-error - the core and core-digest collides
289288
return commands.updateButtonAttributes?.({ ...attrs, aliasFor: aliasFor ?? null });
290289
}
291290

292-
// @ts-expect-error - the core and core-digest collides
293291
return commands.updateButtonAttributes?.(attrs);
294292
},
295293
};
@@ -387,7 +385,6 @@ export const createExtensions = (props: {
387385

388386
if (isUrlVariable) {
389387
const aliasFor = resolveRepeatBlockAlias(href ?? '', editor);
390-
// @ts-expect-error - the core and core-digest collides
391388
return commands.updateLinkAttributes?.({ ...attrs, aliasFor: aliasFor ?? null });
392389
}
393390

0 commit comments

Comments
 (0)