1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

chore: remove unused code

This commit is contained in:
Thomas Heartman 2022-04-02 16:39:16 +02:00
parent 79b5582542
commit c0228a0ca3

View File

@ -24,9 +24,6 @@ type Props = {
title?: string
}
type PropsWithoutPayload = Omit<Props, 'payload'>
const Component: React.FC<Props> = ({ verb, payload, url, title }) => {
const verbUpper = verb?.toUpperCase() || '';
const prettyPayload = JSON.stringify(payload, null, indentation);