You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to display a list of cards in two rows, controlled by a filter system that updates based on user selection. However, I'm encountering difficulty displaying the data in two rows. It reverts to one row after each update. I suspect this may be due to an issue with the useEffect hook. I tried to access the Splide instance using a ref, but encountered a problem: the refresh() method is not available for the Splide instance. Instead, I receive a type error stating,
"Property 'splide' does not exist on type 'never'."
Can anyone give me some pointers please? below is a shorter version of my code:
Checks
Version
0.7.12
Description
I try to display a list of cards in two rows, controlled by a filter system that updates based on user selection. However, I'm encountering difficulty displaying the data in two rows. It reverts to one row after each update. I suspect this may be due to an issue with the useEffect hook. I tried to access the Splide instance using a ref, but encountered a problem: the refresh() method is not available for the Splide instance. Instead, I receive a type error stating,
"Property 'splide' does not exist on type 'never'."
Can anyone give me some pointers please? below is a shorter version of my code:
const ref = useRef(null)
Reproduction Link
No response
Steps to Reproduce
...
Expected Behaviour
display data in two rows
The text was updated successfully, but these errors were encountered: