Refactor icon component

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-08-24 09:17:11 +02:00
committed by Alexis Sellier
parent 8021f6396d
commit c4769c8127
10 changed files with 174 additions and 102 deletions
+4
View File
@@ -701,3 +701,7 @@ export const lookupAddress = cache.cached(
(address) => address,
{ max: 1000 }
);
export const unreachable = (value: never): never => {
throw new Error(`Unreachable code: ${value}`);
};