Skip to content

Commit

Permalink
fix: Merge branch 'alpha' into alpha-deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammeds1992 committed Nov 2, 2023
2 parents 745c3d6 + dd9b963 commit 394010d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/uiweb/src/lib/dataProviders/ChatDataProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ThemeContext } from '../components/chat/theme/ThemeProvider';
import useGetChatProfile from '../hooks/useGetChatProfile';
import { IUser, SignerType } from '@pushprotocol/restapi';
import { IChatTheme, lightChatTheme } from '../components/chat/theme';
import { getAddressFromSigner } from '../helpers';
import { getAddressFromSigner, pCAIP10ToWallet } from '../helpers';


export interface IChatUIProviderProps {
Expand All @@ -28,7 +28,7 @@ export const ChatUIProvider = ({
signer = undefined,
env = Constants.ENV.PROD,
}: IChatUIProviderProps) => {
const [accountVal, setAccountVal] = useState<string | null>(account);
const [accountVal, setAccountVal] = useState<string | null>(pCAIP10ToWallet(account!));
const [pushChatSocket, setPushChatSocket] = useState<any>(null);
const [signerVal, setSignerVal] = useState<SignerType| undefined>(signer);

Expand Down

0 comments on commit 394010d

Please sign in to comment.