diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-12-16 21:37:20 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-12-16 21:37:20 +0100 |
| commit | b0ebd69d5b5f6dfed4e82528dff1b913a4240dc8 (patch) | |
| tree | 32e3a375c660b3afc4b32a4e6e2ddda98abecc98 /tests | |
| parent | 9dfbd6e7e8749543b318fc7937501d102129bd1b (diff) | |
fix(branding): do not reanimate branding on route change
The branding animation should occurs only once. Since we're changing
the heading from a h1 to a p and vice-versa, the CSS animation was
retriggered. By using a ref to make sure it is the first render, we can
prevent this behaviour.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
