E0245 Motion written as an expression
Why
An element's motion preset is fixed when the page is built, so each target can prepare its movement; it is written as text, such as motion="slide-up".
How to fix it
Write the preset as text, or use a show to pick between elements with different presets.
In a terminal
duolith explain E0245