mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2025-12-16 12:32:48 +00:00
refactor: clean some codes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { DependencyList, useEffect, useRef } from "react";
|
||||
|
||||
export const useScrollFollow = <T extends HTMLElement = HTMLElement>(
|
||||
export const useAutoScroll = <T extends HTMLElement = HTMLElement>(
|
||||
deps: DependencyList,
|
||||
behavior: ScrollBehavior = "smooth"
|
||||
) => {
|
||||
Reference in New Issue
Block a user