mirror of
https://github.com/sct/overseerr.git
synced 2025-09-30 05:54:03 +02:00
chore(deps-dev): upgrade typescript to v4.1.2 and ts-node to v9.1.1
This commit is contained in:
@@ -117,7 +117,7 @@ const Slider: React.FC<SliderProps> = ({
|
||||
to: {
|
||||
x: newX,
|
||||
},
|
||||
onFrame: (props) => {
|
||||
onFrame: (props: { x: number }) => {
|
||||
if (containerRef.current) {
|
||||
containerRef.current.scrollLeft = props.x;
|
||||
}
|
||||
@@ -141,7 +141,7 @@ const Slider: React.FC<SliderProps> = ({
|
||||
to: {
|
||||
x: newX,
|
||||
},
|
||||
onFrame: (props) => {
|
||||
onFrame: (props: { x: number }) => {
|
||||
if (containerRef.current) {
|
||||
containerRef.current.scrollLeft = props.x;
|
||||
}
|
||||
|
Reference in New Issue
Block a user