mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-18 16:05:33 -04:00
use memo more wisely
This commit is contained in:
@@ -5,10 +5,8 @@ import styles from "./Blockquote.module.css";
|
||||
|
||||
type Props = BlockquoteHTMLAttributes<HTMLElement>;
|
||||
|
||||
const Blockquote = ({ children, className, ...rest }: Props) => (
|
||||
<blockquote className={classNames(styles.blockquote, className)} {...rest}>
|
||||
{children}
|
||||
</blockquote>
|
||||
const Blockquote = ({ className, ...rest }: Props) => (
|
||||
<blockquote className={classNames(styles.blockquote, className)} {...rest} />
|
||||
);
|
||||
|
||||
export default Blockquote;
|
||||
|
Reference in New Issue
Block a user