Skip to content

Commit

Permalink
refactor: Remove export of unused function
Browse files Browse the repository at this point in the history
This function is currently only used internally within the
`useIsConnected` Hook.
  • Loading branch information
dcalhoun committed Dec 13, 2023
1 parent 7c79d2a commit 40b90b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native-bridge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export function useIsConnected() {
return { isConnected };
}

export function subscribeConnectionStatus( callback ) {
function subscribeConnectionStatus( callback ) {
return gutenbergBridgeEvents.addListener(
'connectionStatusChange',
callback
Expand Down

0 comments on commit 40b90b1

Please sign in to comment.