Skip to content

Commit 7760d60

Browse files
committed
fix: Do not export values unnecessarily
1 parent 220e49c commit 7760d60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/utils/src/time.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const performanceFallback: CrossPlatformPerformance = {
2828
timeOrigin: INITIAL_TIME,
2929
};
3030

31-
export const crossPlatformPerformance: CrossPlatformPerformance = ((): CrossPlatformPerformance => {
31+
const crossPlatformPerformance: CrossPlatformPerformance = ((): CrossPlatformPerformance => {
3232
// React Native's performance.now() starts with a gigantic offset, so we need to wrap it.
3333
if (isReactNative()) {
3434
return getReactNativePerformanceWrapper();
@@ -74,7 +74,7 @@ export function timestampWithMs(): number {
7474
/**
7575
* Determines if running in react native
7676
*/
77-
export function isReactNative(): boolean {
77+
function isReactNative(): boolean {
7878
return getGlobalObject<Window>().navigator?.product === 'ReactNative';
7979
}
8080

0 commit comments

Comments
 (0)