From 9ef8d32053a21e2d69fa40e75919ea6302ff9705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20B=C3=BCchele?= Date: Fri, 21 Sep 2018 10:30:09 -0700 Subject: [PATCH] flow fixes Summary: Fixes a flow issue in the type definition of a filter. The color can be optional. Reviewed By: passy Differential Revision: D9850602 fbshipit-source-id: 1d74d0462baef58ad1a93e23152583679f51c177 --- src/ui/components/filter/types.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/components/filter/types.js b/src/ui/components/filter/types.js index 98b241254..4ba2b0d4a 100644 --- a/src/ui/components/filter/types.js +++ b/src/ui/components/filter/types.js @@ -17,7 +17,7 @@ export type Filter = type: 'enum', enum: Array<{ label: string, - color: string, + color?: string, value: string, }>, persistent?: boolean,