Skip to content

Commit 1daffb4

Browse files
committed
refactor: revert Proposals component and add support for lazer option
1 parent 85fe9f5 commit 1daffb4

File tree

5 files changed

+347
-358
lines changed

5 files changed

+347
-358
lines changed

governance/xc_admin/packages/xc_admin_frontend/components/ProgramSwitch.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ const Arrow = ({ className }: { className?: string }) => (
2828
const formatDisplayName = (value: ProgramType): string => {
2929
const enumName = PROGRAM_TYPE_NAMES[value]
3030
return enumName
31-
.split('_')
32-
.map((word: string) => word.charAt(0) + word.slice(1).toLowerCase())
33-
.join(' ')
3431
}
3532

3633
/**

0 commit comments

Comments
 (0)