Regression: Broken components on Federation and Engagement dashboards (#25653)
* Fix odd typechecking issues with JSON modules * Avoid `data` as directory for modules * rename other `data` folder Co-authored-by: gabriellsh <gabriel.henriques@rocket.chat>pull/25684/head
parent
4894fc2d6f
commit
d364be43e8
@ -1,8 +1,7 @@ |
||||
import { Box, ActionButton } from '@rocket.chat/fuselage'; |
||||
import { useToastMessageDispatch, useTranslation } from '@rocket.chat/ui-contexts'; |
||||
import React, { ComponentProps, ReactElement } from 'react'; |
||||
|
||||
import { useToastMessageDispatch } from '@rocket.chat/ui-contexts'; |
||||
import { useTranslation } from '@rocket.chat/ui-contexts' |
||||
import { downloadCsvAs } from '../../../../../../client/lib/download'; |
||||
|
||||
type RowFor<THeaders extends readonly string[]> = readonly unknown[] & { |
||||
@ -1,7 +1,7 @@ |
||||
import { Select } from '@rocket.chat/fuselage'; |
||||
import { useTranslation } from '@rocket.chat/ui-contexts'; |
||||
import React, { ReactElement, useMemo } from 'react'; |
||||
|
||||
import { useTranslation } from '@rocket.chat/ui-contexts' |
||||
import { getPeriod, Period } from './periods'; |
||||
|
||||
type PeriodSelectorProps<TPeriod extends Period['key']> = { |
||||
@ -1,7 +1,6 @@ |
||||
import { TranslationKey } from '@rocket.chat/ui-contexts'; |
||||
import moment from 'moment'; |
||||
|
||||
import { TranslationKey } from '@rocket.chat/ui-contexts' |
||||
|
||||
const label = ( |
||||
translationKey: TranslationKey, |
||||
...replacements: unknown[] |
||||
@ -1,6 +1,6 @@ |
||||
import { useTranslation } from '@rocket.chat/ui-contexts'; |
||||
import { useMemo } from 'react'; |
||||
|
||||
import { useTranslation } from '@rocket.chat/ui-contexts' |
||||
import { getPeriod, Period } from './periods'; |
||||
|
||||
export const usePeriodLabel = (period: Period['key']): string => { |
||||
Loading…
Reference in new issue