mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
12 lines
387 B
TypeScript
12 lines
387 B
TypeScript
import React from 'react';
|
|
|
|
import { config } from '@grafana/runtime';
|
|
import { Page } from 'app/core/components/Page/Page';
|
|
|
|
import { Page as CloudPage } from './cloud/Page';
|
|
import { Page as OnPremPage } from './onprem/Page';
|
|
|
|
export default function MigrateToCloud() {
|
|
return <Page navId="migrate-to-cloud">{config.cloudMigrationIsTarget ? <CloudPage /> : <OnPremPage />}</Page>;
|
|
}
|