Skip to content

Commit

Permalink
Knip 4: remove MovablePoint duplicate export (#1774)
Browse files Browse the repository at this point in the history
## Summary:
`MovablePoint` was being exported twice: `export class MovablePoint` and `export default MovablePoint`

Found by Knip.

Author: handeyeco

Reviewers: benchristel, jeremywiebe

Required Reviewers:

Approved By: jeremywiebe

Checks: ✅ Publish npm snapshot (ubuntu-latest, 20.x), ✅ Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x), ✅ Cypress (ubuntu-latest, 20.x), ✅ Check builds for changes in size (ubuntu-latest, 20.x), ✅ Publish Storybook to Chromatic (ubuntu-latest, 20.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 20.x), ✅ gerald

Pull Request URL: #1774
  • Loading branch information
handeyeco authored Oct 22, 2024
1 parent 327ad73 commit cb3b8f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/short-sheep-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@khanacademy/perseus": patch
---

Remove duplicate export on MovablePoint
2 changes: 0 additions & 2 deletions packages/perseus/src/interactive2/movable-point.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -801,5 +801,3 @@ function getKey(eventName: string, id: string): string {
function getEventName(key: string): string {
return key.split(":")[0];
}

export default MovablePoint;

0 comments on commit cb3b8f3

Please sign in to comment.