pl-fe: remove unused code

Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
Nicole Mikołajczyk
2025-05-05 18:13:31 +02:00
parent adf379d427
commit e78fd0bdb2
2 changed files with 0 additions and 7 deletions

View File

@ -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,

View File

@ -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,
};