Skip to content

Commit

Permalink
fix: fixed minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mishramonalisha76 committed Nov 15, 2023
1 parent fcd8614 commit e33870f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const ChatSupportTest = () => {
<SupportChat

signer={librarySigner}
supportAddress="0x99A08ac6254dcf7ccc37CeC662aeba8eFA666666"
supportAddress="0x6269C363695c5E14447a1b3873d7Ae4Ddf6E6eF7"
apiKey="tAWEnggQ9Z.UaDBNjrvlJZx3giBTIQDcT8bKQo1O1518uF1Tea7rPwfzXv2ouV5rX9ViwgJUrXm"
env={env}
greetingMsg="How can i help you?"
Expand Down
2 changes: 1 addition & 1 deletion packages/uiweb/src/lib/components/supportChat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export type ButtonStyleProps = {
account: accountadd,
env,
apiKey,
userAlice,
userAlice: userAlice!,
supportAddress,
signer
});
Expand Down
4 changes: 2 additions & 2 deletions packages/uiweb/src/lib/hooks/useSDKSocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
EVENTS
} from '@pushprotocol/socket';
import { ENV } from '../config';
import { CONSTANTS, PushAPI } from '@pushprotocol/restapi';
import { CONSTANTS, PushAPI, SignerType } from '@pushprotocol/restapi';


export type SDKSocketHookOptions = {
Expand All @@ -14,7 +14,7 @@ export type SDKSocketHookOptions = {
apiKey: string,
userAlice: PushAPI ,
supportAddress: string | null,
signer: string | null
signer: SignerType | null
};

export const useSDKSocket =({ account, env = ENV.PROD, socketType = 'chat',apiKey, userAlice, supportAddress, signer }: SDKSocketHookOptions) => {
Expand Down

0 comments on commit e33870f

Please sign in to comment.