Skip to content

Commit

Permalink
chore(android): Remove string interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven0351 committed Oct 2, 2023
1 parent 4c2725f commit e9c3eca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ internal class PortalsPubSubModule(reactContext: ReactApplicationContext) :
val ref = PortalsPubSub.shared.subscribe(topic) { result ->
reactApplicationContext
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter::class.java)
.emit("$eventName", result.toJSObject().toReactMap())
.emit(eventName, result.toJSObject().toReactMap())
}

subscriptionRefs[eventName] = ref
Expand Down

0 comments on commit e9c3eca

Please sign in to comment.