Fix ref to scrolling
This commit is contained in:
parent
74a194fe53
commit
b51f8c0f1f
@ -21,9 +21,10 @@ export default function Component({ service }) {
|
||||
return undefined;
|
||||
}, [refreshTimer, widget?.refreshInterval]);
|
||||
|
||||
const scrollingDisableStyle = widget?.allowScrolling
|
||||
? "pointer-events:none; overflow: hidden;"
|
||||
: "";
|
||||
const scrollingDisableStyle =
|
||||
widget?.allowScrolling === "no"
|
||||
? "pointer-events:none; overflow: hidden"
|
||||
: "";
|
||||
|
||||
const sizeClasses = `h-${widget?.sizes?.xs || 80} sm:h-${
|
||||
widget?.sizes?.sm || 80
|
||||
@ -53,7 +54,6 @@ export default function Component({ service }) {
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
function Block({ children }) {
|
||||
return (
|
||||
<div
|
||||
|
||||
Loading…
Reference in New Issue
Block a user