From f010b914c85aa6829dc6689b053eba420c093a4e Mon Sep 17 00:00:00 2001 From: chloefeal <188809157+chloefeal@users.noreply.github.com> Date: Wed, 25 Dec 2024 22:46:14 +0800 Subject: [PATCH] chore: fix typos Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com> --- deployments/dapps/sdk-playground/src/pages/demo.tsx | 2 +- docs/Development.md | 2 +- .../sdk-socket-server-next/src/protocol/handleJoinChannel.ts | 2 +- .../components/Pickers/PickerAccount/PickerAccount.types.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deployments/dapps/sdk-playground/src/pages/demo.tsx b/deployments/dapps/sdk-playground/src/pages/demo.tsx index c9a8956a8..b37a18e8c 100644 --- a/deployments/dapps/sdk-playground/src/pages/demo.tsx +++ b/deployments/dapps/sdk-playground/src/pages/demo.tsx @@ -302,7 +302,7 @@ export const Demo = () => { }, { method: 'personal_sign', - params: ['Hello Wolrd', selectedAddress], + params: ['Hello World', selectedAddress], }, { method: 'eth_sendTransaction', diff --git a/docs/Development.md b/docs/Development.md index 8edcbb669..34c51bb55 100644 --- a/docs/Development.md +++ b/docs/Development.md @@ -19,7 +19,7 @@ yarn cd packages/sdk-socket-server yarn debug -# lauch one of the dev application playground, here for nextjs +# launch one of the dev application playground, here for nextjs cd packages/devnext # if you use a local socket server you can configure it inside the .env file echo "NEXT_PUBLIC_COMM_SERVER_URL=http://YOUR_LOCAL_IP:4000/" > .env diff --git a/packages/sdk-socket-server-next/src/protocol/handleJoinChannel.ts b/packages/sdk-socket-server-next/src/protocol/handleJoinChannel.ts index 88f3e5ea7..9cd85d661 100644 --- a/packages/sdk-socket-server-next/src/protocol/handleJoinChannel.ts +++ b/packages/sdk-socket-server-next/src/protocol/handleJoinChannel.ts @@ -208,7 +208,7 @@ export const handleJoinChannel = async ({ // room should be < MAX_CLIENTS_PER_ROOM since we haven't joined yet const room = io.sockets.adapter.rooms.get(channelId); // roomOccupancy can potentially be 0 instead of 1 if the dapp and wallet were dispatched on different servers - // channelOccupancy should be the correct value as it represents the global state accross all servers + // channelOccupancy should be the correct value as it represents the global state across all servers let roomOccupancy = room?.size ?? 0; const isSocketInRoom = room?.has(socketId) ?? false; diff --git a/packages/sdk-ui/src/design-system/components/Pickers/PickerAccount/PickerAccount.types.ts b/packages/sdk-ui/src/design-system/components/Pickers/PickerAccount/PickerAccount.types.ts index 04fb39a43..7bbe633b7 100644 --- a/packages/sdk-ui/src/design-system/components/Pickers/PickerAccount/PickerAccount.types.ts +++ b/packages/sdk-ui/src/design-system/components/Pickers/PickerAccount/PickerAccount.types.ts @@ -24,7 +24,7 @@ export interface PickerAccountProps extends Omit { */ showAddress?: boolean; /** - * cell account contianer style. + * cell account container style. */ cellAccountContainerStyle?: ViewStyle;