Skip to content

Commit

Permalink
chore(security tab): remove unused component and function
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Feb 11, 2025
1 parent 4a86350 commit ac70d74
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 60 deletions.

This file was deleted.

11 changes: 0 additions & 11 deletions src/utils/FormattingUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,6 @@ export function formatBytes(bytes: number, decimals = 2): string {
return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + " " + sizes[i];
}

/**
* format a key into groups of 4 characters, for easier visual inspection
*
* @param {string} key key to format
*
* @return {string}
*/
export function formatCryptoKey(key: string): string {
return key.match(/.{1,4}/g)!.join(" ");
}

export function getUserNameColorClass(userId: string): string {
// eslint-disable-next-line react-hooks/rules-of-hooks
const number = useIdColorHash(userId);
Expand Down

0 comments on commit ac70d74

Please sign in to comment.