Skip to content

Commit

Permalink
feat: add default value of props object
Browse files Browse the repository at this point in the history
  • Loading branch information
puguhsudarma committed Oct 17, 2024
1 parent 6f38edd commit ec4668d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { withNSLocalNetworkUsageInfoPlist } from "./with-nslocal-network-usage-i

const withExpoNearbyConnectionPlugin: ConfigPlugin<PluginProps> = (
config,
{ bonjourServicesName, localNetworkUsagePermissionText }
{ bonjourServicesName, localNetworkUsagePermissionText } = {}
) => {
return withPlugins(config, [
[withNSBonjourServicesInfoPlist, { bonjourServicesName }],
Expand Down

0 comments on commit ec4668d

Please sign in to comment.