Skip to content

Commit

Permalink
[CN-2388] set status count default value pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
Abel Rodriguez committed Jun 15, 2023
1 parent 8419814 commit a5e6636
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function PluginContainer({ app }: IPluginContainerProps) {
const [selectedParams, setSelectedParams] = useState<string[]>([]);
const [selectedDateRange, setSelectedDateRange] = useState<IDateRange>({ start: 0, end: MAX_DATE_RANGE });
const [selectedStatus, setSelectedStatus] = useState<string[]>([]);
const [statusCount, setStatusCount] = useState<Map<string, number>>();
const [statusCount, setStatusCount] = useState<Map<string, number>>(new Map<string, number>());

useEffect(() => {
dataSource.activate();
Expand Down

0 comments on commit a5e6636

Please sign in to comment.