Created
February 13, 2021 17:40
-
-
Save hypeJunction/37342adaac4da3e05f20f539f0d87914 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function MessageView () { | |
const { | |
context: { | |
message | |
} | |
} = useMachineState() | |
return ( | |
<> | |
<p>Your message to {message.recipient} has been sent</p> | |
<blockquote>{message.text}</blockquote> | |
</> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment