Skip to content

Commit

Permalink
use optional chaining for preprocessingFile field on props
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxAst committed May 28, 2024
1 parent 4fc6b02 commit 7c27f4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const withShareExtension: ConfigPlugin<{
fonts,
backgroundColor: props?.backgroundColor,
height: props?.height,
preprocessingFile: props.preprocessingFile,
preprocessingFile: props?.preprocessingFile,
},
],
withShareExtensionEntitlements,
Expand All @@ -82,7 +82,7 @@ const withShareExtension: ConfigPlugin<{
{
fonts,
googleServicesFile: props?.googleServicesFile,
preprocessingFile: props.preprocessingFile,
preprocessingFile: props?.preprocessingFile,
},
],
]);
Expand Down

0 comments on commit 7c27f4e

Please sign in to comment.