mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-02-14 07:54:59 -05:00
Fixed flashing on load with mobile footer drawer (#299)
This commit is contained in:
@@ -158,8 +158,8 @@ export const MobileFooter: React.FC = () => {
|
||||
animate={isOpen ? 'show' : 'hide'}
|
||||
transition={{ duration: 0.25 }}
|
||||
variants={{
|
||||
show: { opacity: 1, pointerEvents: 'inherit' },
|
||||
hide: { opacity: 0, pointerEvents: 'none' },
|
||||
show: { display: 'block', opacity: 1, pointerEvents: 'inherit' },
|
||||
hide: { display: 'none', opacity: 0, pointerEvents: 'none' },
|
||||
}}
|
||||
onClick={onClose}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user