Use rome and initial format

This commit is contained in:
Sacha Weatherstone
2023-07-09 13:59:31 +10:00
parent a65bc37be5
commit 20ac657b51
90 changed files with 3350 additions and 3092 deletions
@@ -11,14 +11,14 @@ export interface MessageInputProps {
export const MessageInput = ({
to,
channel
channel,
}: MessageInputProps): JSX.Element => {
const {
connection,
setMessageState,
messageDraft,
setMessageDraft,
hardware
hardware,
} = useDevice();
const myNodeNum = hardware.myNodeNum;
@@ -33,8 +33,8 @@ export const MessageInput = ({
to as number,
myNodeNum,
id,
"ack"
)
"ack",
),
)
.catch((e: Types.PacketError) =>
setMessageState(
@@ -43,8 +43,8 @@ export const MessageInput = ({
to as number,
myNodeNum,
e.id,
e.error
)
e.error,
),
);
};