perf(app): limit load of subplebbit with preload of layout

This commit is contained in:
plebeius.eth
2024-03-20 14:31:31 +01:00
parent 5ef7f0a77d
commit 9626c6c9d8
6 changed files with 49 additions and 35 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
import styles from './post-form.module.css';
import { useTranslation } from 'react-i18next';
const PostForm = () => {
export interface PostFormProps {
address: string | undefined;
}
const PostForm = ({ address }: PostFormProps) => {
const { t } = useTranslation();
return (