Skip to content

Commit

Permalink
fix defaultprops codemod error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
hunxjunedo committed Nov 8, 2024
1 parent 7bb965b commit 772e356
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const updateDefaultProps = async ({
defaultPropsValue.type !== 'TSAsExpression'
) {
throw new Error(
`\`defaultProps\` prop must be a hardcoded value in the <Composition/> tag with the ID "${defaultPropsValue.type}".`,
`\`defaultProps\` prop must be a hardcoded value in the <Composition/> tag with the ID "${compositionId}".`,
);
}

Expand Down

0 comments on commit 772e356

Please sign in to comment.