From d31be2a6f540bd64e38ea0ab6341a268a5e09a40 Mon Sep 17 00:00:00 2001 From: Iris Scholten Date: Thu, 16 May 2019 11:32:42 -0700 Subject: [PATCH] chore(ui): remove unused component (#13614) --- .../components/SelectableBucket.tsx | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 ui/src/authorizations/components/SelectableBucket.tsx diff --git a/ui/src/authorizations/components/SelectableBucket.tsx b/ui/src/authorizations/components/SelectableBucket.tsx deleted file mode 100644 index bc08a1f738e..00000000000 --- a/ui/src/authorizations/components/SelectableBucket.tsx +++ /dev/null @@ -1,25 +0,0 @@ -// Libraries -import React, {PureComponent} from 'react' - -// Types -import {Bucket} from '@influxdata/influx' - -interface Props { - bucket: Bucket - onSelect: (id: string) => void -} - -class SelectableBucket extends PureComponent { - render() { - const {bucket} = this.props - - return
{bucket.name}
- } - - private handleClick = () => { - const {bucket, onSelect} = this.props - onSelect(bucket.id) - } -} - -export default SelectableBucket