File size: 422 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 |
import { type Callback } from '@automattic/calypso-router';
import { A4AFeedback } from 'calypso/a8c-for-agencies/components/a4a-feedback';
import MainSidebar from 'calypso/a8c-for-agencies/components/sidebar-menu/main';
export const feedbackContext: Callback = ( context, next ) => {
context.primary = <A4AFeedback type={ context.query.type } />;
context.secondary = <MainSidebar path={ context.path } />;
next();
};
|