mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-23 13:46:45 +02:00
remove redundant code
This commit is contained in:
parent
761e405d7d
commit
5bafa852ab
@ -1,12 +1,3 @@
|
||||
import type { FC } from 'react';
|
||||
import { NameWithChangeInfo } from './NameWithChangeInfo/NameWithChangeInfo.tsx';
|
||||
|
||||
type ChangeSegmentNameProps = {
|
||||
name?: string;
|
||||
previousName?: string;
|
||||
};
|
||||
|
||||
export const ChangeSegmentName: FC<ChangeSegmentNameProps> = ({
|
||||
name,
|
||||
previousName,
|
||||
}) => <NameWithChangeInfo previousName={previousName} newName={name} />;
|
||||
export const ChangeSegmentName = NameWithChangeInfo;
|
||||
|
Loading…
Reference in New Issue
Block a user