diff --git a/ts/features/connectivity/hooks/useConnectivityGuard.ts b/ts/features/connectivity/hooks/useConnectivityGuard.ts index 152b9b4071f..10539b7b1cf 100644 --- a/ts/features/connectivity/hooks/useConnectivityGuard.ts +++ b/ts/features/connectivity/hooks/useConnectivityGuard.ts @@ -8,11 +8,11 @@ type ConnectivityCheckFunction = (...args: Array) => void | Promise; /** * A hook that executes a function if there is connectivity, otherwise navigates to NoConnectivityScreen. - * Use this hook to wrap functions that require an internet connection to work. + * Use this hook to wrap functions that trigger a navigation to screens that require an internet connection to work. * * @example * ```typescript - * const yourFunctionWithConnectivity = useConnectivityGuard(yourFunction); + * const yourWrappedFunction = useConnectivityGuard(yourFunction); * ``` * * @param fn The function to execute when there is connectivity