src/components/modal/modal-note/index.tsx
Function ModalNote
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const ModalNote: FC<IModalNoteProps> = () => {
const { extra, hideModal } = useModal();
const { id, title, description, date, image, emoji } = extra.note;
const { dateTime, dateDisplay } = getDisplayDate(date, 'long');
const { width } = useResize();