-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: remove some unused files #2398
Conversation
🦋 Changeset detectedLatest commit: 80c6f3f The changes in this PR will be included in the next version bump. This PR includes changesets to release 31 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
32eb946
to
a1f5492
Compare
@@ -1,3 +0,0 @@ | |||
export function identity<T>(value: T): T { | |||
return value; | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we leave this one? I assume this didn't cause TS issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure! no issues
export * from "./groupBy"; | ||
export * from "./identity"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prob need a changeset for removing exports
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True
"@latticexyz/react": patch | ||
--- | ||
|
||
Removed some unused files, namely `curry` in `@latticexyz/common` and `useDeprecatedComputedValue` from `@latticexyz/react`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for future reference, you can create a changeset for each package with the package-specific changes so that we don't need the irrelevant change in another package's changelog
These files are not referenced elsewhere in the codebase and cause type errors (surfaced in #2398), so we can remove them and simplify the codebase a tiny bit.