clean up messy code

This commit is contained in:
Ren Amamiya
2023-09-18 09:50:15 +07:00
parent 13f5190ba1
commit 53aa13c8aa
31 changed files with 256 additions and 373 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
import { useQuery } from '@tanstack/react-query';
import { fetch } from '@tauri-apps/api/http';
import { memo } from 'react';
import { twMerge } from 'tailwind-merge';
import { UnverifiedIcon, VerifiedIcon } from '@shared/icons';
@@ -10,7 +11,7 @@ interface NIP05 {
};
}
export function NIP05({
export const NIP05 = memo(function NIP05({
pubkey,
nip05,
className,
@@ -71,4 +72,4 @@ export function NIP05({
</div>
</div>
);
}
});