* add doctor jobs view * change translation * another translation change * clean up * add analaysis detail view to paths config * translation * merge fix * fix path * move components to shared * refactor * imports * clean up
16 lines
354 B
TypeScript
16 lines
354 B
TypeScript
import { notFound } from 'next/navigation';
|
|
|
|
import { featureFlagsConfig } from '@kit/shared/config';
|
|
|
|
function TeamAccountBillingLayout(props: React.PropsWithChildren) {
|
|
const isEnabled = featureFlagsConfig.enableTeamAccountBilling;
|
|
|
|
if (!isEnabled) {
|
|
notFound();
|
|
}
|
|
|
|
return <>{props.children}</>;
|
|
}
|
|
|
|
export default TeamAccountBillingLayout;
|