Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #421 from statelyai/revert-420-davidkpiano/fix-act…
Browse files Browse the repository at this point in the history
…ion-viz

Revert "Fix ActionViz"
  • Loading branch information
davidkpiano committed Aug 4, 2023
2 parents 27cbf4d + d3ca860 commit 6054afa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
5 changes: 0 additions & 5 deletions .changeset/fast-taxis-smash.md

This file was deleted.

7 changes: 1 addition & 6 deletions src/ActionViz.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,9 @@ export const ActionType: React.FC<{ title?: string }> = ({
export const RaiseActionLabel: React.FC<{
action: PotentiallyStructurallyCloned<RaiseAction<EventObject>>;
}> = ({ action }) => {
const eventType =
typeof action.event === 'object' && action.event !== null
? action.event.type ?? <em>unknown</em>
: `${action.event}`;

return (
<ActionType>
<strong>raise</strong> {eventType}
<strong>raise</strong> {action.event}
</ActionType>
);
};
Expand Down

1 comment on commit 6054afa

@vercel
Copy link

@vercel vercel bot commented on 6054afa Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

xstate-viz – ./

xstate-viz-statelyai.vercel.app
xstate-viz-git-main-statelyai.vercel.app
viz-prod.stately.ai

Please sign in to comment.