Skip to content

Commit

Permalink
test gallery post
Browse files Browse the repository at this point in the history
  • Loading branch information
langonginc committed Aug 15, 2024
1 parent 3d24747 commit a9b7845
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/header/rmp-gallery-app-clip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default function RmpGalleryAppClip(props: RmpGalleryAppClipProps) {
React.useEffect(() => {
CHN.onmessage = e => {
const { event, data: paramStr } = e.data;
console.log(event);
if (event === RMP_GALLERY_CHANNEL_EVENT) {
handleOpenTemplate(paramStr);
onClose();
Expand Down
1 change: 1 addition & 0 deletions src/components/marketplace/ticket.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export default function Ticket() {
React.useEffect(() => {
CHN.onmessage = e => {
const { event, data } = e.data;
console.log(event);
if (event === RMP_GALLERY_CHANNEL_EVENT) {
console.info(data);
if (data && data.id) {
Expand Down

0 comments on commit a9b7845

Please sign in to comment.