Skip to content

Commit 3d2f07f

Browse files
committed
Do not export isRunningInReactNative as it's usage is internal
1 parent c838d4c commit 3d2f07f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/useIsomorphicLayoutEffect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const isDOM = /* @__PURE__ */ canUseDOM()
2626
*
2727
* @see {@link https://github.com/facebook/react-native/issues/1331 Reference}
2828
*/
29-
export const isRunningInReactNative = () =>
29+
const isRunningInReactNative = () =>
3030
typeof navigator !== 'undefined' && navigator.product === 'ReactNative'
3131

3232
const isReactNative = /* @__PURE__ */ isRunningInReactNative()

0 commit comments

Comments
 (0)