mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-17 10:10:37 +03:00
improve solid code
This commit is contained in:
@@ -109,7 +109,7 @@ import { createOverlayScrollbars } from "overlayscrollbars-solid";
|
||||
const Component = () => {
|
||||
let div;
|
||||
const [params, setParams] = createStore({ options, events });
|
||||
const [initialize, instance] = useOverlayScrollbars(params);
|
||||
const [initialize, instance] = createOverlayScrollbars(params);
|
||||
|
||||
/**
|
||||
* or:
|
||||
|
||||
Reference in New Issue
Block a user