Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoggr committed Feb 18, 2025
1 parent 46008b6 commit 884bc7d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/frontend/src/components/live_document_menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function LiveDocumentMenu(props: {
);
}

/** Menu items for a diagram in a model. */
/** Menu items for any live document. */
export function LiveDocumentMenuItems(props: {
liveDocument: LiveDiagramDocument | LiveModelDocument;
}) {
Expand All @@ -51,8 +51,6 @@ export function LiveDocumentMenuItems(props: {
switch (props.liveDocument.type) {
case "diagram":
return props.liveDocument.liveModel.refId;
case "model":
return props.liveDocument.refId;
default:
assertExhaustive(props.liveDocument);
}
Expand Down

0 comments on commit 884bc7d

Please sign in to comment.