Skip to content

Commit

Permalink
chore: display name of Tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
swkatmask committed Jun 23, 2024
1 parent 046c25a commit abed1e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modals/UITaskManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ export const createUITaskManager = <TaskOptions extends BaseDialogProps<Result>,
</Fragment>
)
}
const name = Component.displayName || Component.name
Tasks.displayName = `${name}(Tasks)`

return {
controller,
Expand Down

0 comments on commit abed1e9

Please sign in to comment.