import { useColorModeValue, useToken, Box, chakra, Skeleton } from '@chakra-ui/react'; import dynamic from 'next/dynamic'; import React from 'react'; const Identicon = dynamic<{ bg: string; string: string; size: number }>( async() => { const lib = await import('react-identicons'); return typeof lib === 'object' && 'default' in lib ? lib.default : lib; }, { loading: () => , ssr: false, }, ); interface Props { className?: string; size: number; seed: string; } const IdenticonGithub = ({ size, seed }: Props) => { const bgColor = useToken('colors', useColorModeValue('gray.100', 'white')); return ( ); }; export default React.memo(chakra(IdenticonGithub));