Make each admin page specify is own layout. Closes #2584
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import React from 'react';
|
||||
import React, { ReactElement } from 'react';
|
||||
import { Tabs } from 'antd';
|
||||
|
||||
import StreamKeys from '../../../../components/admin/config/server/StreamKeys';
|
||||
import ServerConfig from '../../../../components/admin/config/server/ServerConfig';
|
||||
import StorageConfig from '../../../../components/admin/config/server/StorageConfig';
|
||||
|
||||
import { AdminLayout } from '../../../../components/layouts/AdminLayout';
|
||||
|
||||
export default function PublicFacingDetails() {
|
||||
return (
|
||||
<div className="config-public-details-page">
|
||||
@@ -32,3 +34,7 @@ export default function PublicFacingDetails() {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
PublicFacingDetails.getLayout = function getLayout(page: ReactElement) {
|
||||
return <AdminLayout page={page} />;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user