mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Update views to support a more logical container
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import React from 'react';
|
||||
import { Route } from 'react-router';
|
||||
import { CSSTransition, TransitionGroup } from 'react-transition-group';
|
||||
import PageContentBlock from '@/components/elements/PageContentBlock';
|
||||
|
||||
type Props = Readonly<{
|
||||
children: React.ReactNode;
|
||||
@@ -13,9 +12,7 @@ export default ({ children }: Props) => (
|
||||
<TransitionGroup className={'route-transition-group'}>
|
||||
<CSSTransition key={location.key} timeout={250} in={true} appear={true} classNames={'fade'}>
|
||||
<section>
|
||||
<PageContentBlock>
|
||||
{children}
|
||||
</PageContentBlock>
|
||||
{children}
|
||||
</section>
|
||||
</CSSTransition>
|
||||
</TransitionGroup>
|
||||
|
||||
Reference in New Issue
Block a user