mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
We're migrating to ESM, which will allow us to import the latest versions of our dependencies. Co-Authored-By: Christopher Kolstad <chriswk@getunleash.io>
14 lines
442 B
TypeScript
14 lines
442 B
TypeScript
import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig';
|
|
import { PremiumFeature } from 'component/common/PremiumFeature/PremiumFeature';
|
|
import { SignalEndpointsTable } from './SignalEndpointsTable/SignalEndpointsTable.tsx';
|
|
|
|
export const Signals = () => {
|
|
const { isEnterprise } = useUiConfig();
|
|
|
|
if (!isEnterprise()) {
|
|
return <PremiumFeature feature='signals' />;
|
|
}
|
|
|
|
return <SignalEndpointsTable />;
|
|
};
|