* 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
344 B
TypeScript
16 lines
344 B
TypeScript
import { featureFlagsConfig } from '@kit/shared/config';
|
|
import { notFound } from 'next/navigation';
|
|
|
|
|
|
function UserBillingLayout(props: React.PropsWithChildren) {
|
|
const isEnabled = featureFlagsConfig.enablePersonalAccountBilling;
|
|
|
|
if (!isEnabled) {
|
|
notFound();
|
|
}
|
|
|
|
return <>{props.children}</>;
|
|
}
|
|
|
|
export default UserBillingLayout;
|