Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/usehooks-ts/src/useScript/useScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function getScriptNode(src: string) {
}

/**
* Custom hook that dynamically loads scripts and tracking their loading status.
* Custom hook that dynamically loads scripts and tracks their loading status.
* @param {string | null} src - The source URL of the script to load. Set to `null` or omit to prevent loading (optional).
* @param {UseScriptOptions} [options] - Additional options for controlling script loading (optional).
* @returns {UseScriptStatus} The status of the script loading, which can be one of 'idle', 'loading', 'ready', or 'error'.
Expand Down