pl-fe: remove unused code
Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -49,8 +49,6 @@ const makeGetAccount = () => createSelector([
|
||||
};
|
||||
});
|
||||
|
||||
type SelectedAccount = Exclude<ReturnType<ReturnType<typeof makeGetAccount>>, null>;
|
||||
|
||||
const toServerSideType = (columnType: string): Filter['context'][0] => {
|
||||
switch (columnType) {
|
||||
case 'home':
|
||||
@ -314,13 +312,11 @@ export {
|
||||
selectAccounts,
|
||||
selectOwnAccount,
|
||||
makeGetAccount,
|
||||
type SelectedAccount,
|
||||
getFilters,
|
||||
regexFromFilters,
|
||||
makeGetStatus,
|
||||
type SelectedStatus,
|
||||
makeGetNotification,
|
||||
type SelectedNotification,
|
||||
makeGetReport,
|
||||
makeGetOtherAccounts,
|
||||
makeGetHosts,
|
||||
|
||||
@ -49,12 +49,9 @@ const shortNumberFormat = (number: any, max?: number): React.ReactNode => {
|
||||
/** Check if an entity ID is an integer (eg not a FlakeId). */
|
||||
const isIntegerId = (id: string): boolean => new RegExp(/^-?[0-9]+$/g).test(id);
|
||||
|
||||
const roundTo10 = (num: number) => Math.round(num / 10) * 10;
|
||||
|
||||
export {
|
||||
isNumber,
|
||||
roundDown,
|
||||
shortNumberFormat,
|
||||
isIntegerId,
|
||||
roundTo10,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user