Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ferferga committed Sep 18, 2024
1 parent aae5873 commit a547e03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/plugins/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,10 @@ const backTransition = 'slide-x';
router.back = () => {
const route = router.currentRoute;

/**
/**
* Play the default page transition but reversed, to play a different effect when going
* to the previous page.
*/

route.value.meta.layout.transition = {
enter: 'slide-x-reverse',
leave: route.value.meta.layout.transition.leave ?? backTransition
Expand Down

0 comments on commit a547e03

Please sign in to comment.