import { NoteActions, NoteContent, NoteSkeleton } from '@shared/notes'; import { User } from '@shared/user'; import { useEvent } from '@utils/hooks/useEvent'; export function SubNote({ id }: { id: string }) { const { status, data } = useEvent(id); if (status === 'loading') { return (
); } if (status === 'error') { return (

Failed to fetch

); } return ( <>
); }