mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
added experimental scroll helper
This commit is contained in:
parent
c2154e930c
commit
8d1e6989c2
8 changed files with 105 additions and 4 deletions
|
@ -17,6 +17,8 @@ import { useNodeContext } from '~/utils/context/NodeContextProvider';
|
|||
import { useNodePermissions } from '~/hooks/node/useNodePermissions';
|
||||
import { useNodeActions } from '~/hooks/node/useNodeActions';
|
||||
import { NodeTitle } from '~/components/node/NodeTitle';
|
||||
import { ScrollHelperBottom } from '~/components/common/ScrollHelperBottom';
|
||||
import { Superpower } from '~/components/boris/Superpower';
|
||||
|
||||
type IProps = {};
|
||||
|
||||
|
@ -65,7 +67,9 @@ const NodeLayout: FC<IProps> = () => {
|
|||
|
||||
<SidebarRouter prefix="/post:id" />
|
||||
|
||||
<Route path={URLS.NODE_EDIT_URL(':id')} component={EditorEditDialog} />
|
||||
<Superpower>
|
||||
<ScrollHelperBottom />
|
||||
</Superpower>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue