Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 2447c57

Browse files
rename withUseDeno to withDeno
1 parent 1220aa4 commit 2447c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function useDeno<T = any>(callback: () => (T | Promise<T>), browser?: boo
5353
return data
5454
}
5555

56-
export function withUseDeno<T>(callback: () => (T | Promise<T>), browser?: boolean, deps?: ReadonlyArray<any>) {
56+
export function withDeno<T>(callback: () => (T | Promise<T>), browser?: boolean, deps?: ReadonlyArray<any>) {
5757
return function <P extends T, >(Component: React.ComponentType<P>): React.ComponentType<Exclude<P, keyof T>> {
5858
return function (props: Exclude<P, keyof T>) {
5959
const denoProps = useDeno(callback, browser, deps);

0 commit comments

Comments
 (0)