♻️ (scroll)

This commit is contained in:
Julien Calixte
2021-03-14 21:27:51 +01:00
parent 23a310f986
commit d624e064af
3 changed files with 33 additions and 18 deletions

View File

@@ -21,7 +21,7 @@ export const useOverlay = (listen = true) => {
)
}
const scrollTo = (to: number) => {
const scrollToNote = (to: number) => {
body?.scroll({
left: to
})
@@ -29,6 +29,6 @@ export const useOverlay = (listen = true) => {
return {
x,
scrollTo
scrollToNote
}
}