From 2e510a57b23f6873c82dedf1e377f80df219d1cd Mon Sep 17 00:00:00 2001 From: Alex P Date: Fri, 6 Apr 2018 11:30:49 -0700 Subject: [PATCH] undestructure name to simplify component --- ui/src/ifql/components/FuncListItem.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/src/ifql/components/FuncListItem.tsx b/ui/src/ifql/components/FuncListItem.tsx index b8274e5dbf..5dc8876a7e 100644 --- a/ui/src/ifql/components/FuncListItem.tsx +++ b/ui/src/ifql/components/FuncListItem.tsx @@ -9,15 +9,13 @@ interface Props { export default class FuncListItem extends PureComponent { public render() { - const {name} = this.props - return (
  • - {name} + {this.props.name}
  • ) }