Skip to content

Commit c5d1945

Browse files
committed
fix formatting
1 parent afd5a5d commit c5d1945

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

src/app/components/editor/output.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ export const toMatrixCustomHTML = (
128128

129129
return `${parsedMarkdown}${toMatrixCustomHTML(n, { ...opts, allowBlockMarkdown: false })}`;
130130
};
131-
if (Array.isArray(node)) return node.map((element, index, array) => parseNode(element, index, array)).join('');
131+
if (Array.isArray(node))
132+
return node.map((element, index, array) => parseNode(element, index, array)).join('');
132133
if (Text.isText(node)) return textToCustomHtml(node, opts);
133134

134135
const children = node.children

src/app/components/emoji-board/EmojiBoard.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,11 @@ type StickerSidebarProps = {
245245
packs: ImagePack[];
246246
onScrollToGroup: (groupId: string) => void;
247247
};
248-
function StickerSidebar({ activeGroupAtom, packs, onScrollToGroup }: Readonly<StickerSidebarProps>) {
248+
function StickerSidebar({
249+
activeGroupAtom,
250+
packs,
251+
onScrollToGroup,
252+
}: Readonly<StickerSidebarProps>) {
249253
const mx = useMatrixClient();
250254
const useAuthentication = useMediaAuthentication();
251255

src/app/components/event-history/EventHistory.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,10 @@ export const EventHistory = as<'div', EventHistoryProps>(
177177
);
178178
}
179179

180-
function EventItem({ mEvent, EventContent }: Readonly<{ mEvent: MatrixEvent; EventContent: IContent }>) {
180+
function EventItem({
181+
mEvent,
182+
EventContent,
183+
}: Readonly<{ mEvent: MatrixEvent; EventContent: IContent }>) {
181184
const [isHovered, setIsHovered] = useState(false);
182185
return (
183186
<Box

0 commit comments

Comments
 (0)