Skip to content

Commit

Permalink
change message display
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Li committed Dec 6, 2023
1 parent c3af2a0 commit dff4110
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ const body = [

export function GetSentryNode() {
const setDrawerState = useSetAtom(drawerStateAtom);
const [m, setM] = useState("no error");
const [message, setMessage] = useState("no error");

(window as any).deeplinks?.updateMessage((mess) => {
setM(mess.message);
(window as any).deeplinks?.updateMessage((mess: any) => {
console.log("asdfasdfasdfasdf:", mess);
setMessage(mess);
});

function getBody() {
Expand Down Expand Up @@ -84,7 +85,7 @@ export function GetSentryNode() {
</div>

<div>
<span>{m}</span>
<span>{JSON.stringify(message)}</span>
</div>

<div className="flex flex-row items-center mt-[4.375rem]">
Expand Down

0 comments on commit dff4110

Please sign in to comment.