mirror of
https://github.com/usatiuk/writer.git
synced 2025-10-29 00:17:48 +01:00
slightly faster animations
This commit is contained in:
@@ -30,6 +30,7 @@ export class AuthScreenComponent extends React.PureComponent<IAuthScreenProps> {
|
||||
) : (
|
||||
<div className="animationWrapper">
|
||||
<Transition
|
||||
native={true}
|
||||
items={location}
|
||||
keys={location.pathname}
|
||||
from={{
|
||||
|
||||
@@ -111,6 +111,7 @@ export class HomeComponent extends React.PureComponent<IHomeProps> {
|
||||
</Navbar>
|
||||
<div id="MainScreen" className="animationWrapper">
|
||||
<Transition
|
||||
native={true}
|
||||
config={{
|
||||
...config.default,
|
||||
clamp: true,
|
||||
|
||||
Reference in New Issue
Block a user