chore(js-ts): Convert app/components/UI/SlippageSlider/index.js to TypeScript #11816
+58
−49
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR converts the SlippageSlider component from JavaScript to TypeScript.
Motivation and Context
As part of our ongoing efforts to improve code quality and maintainability, we are converting our JavaScript components to TypeScript. This conversion will help catch potential errors earlier in the development process and improve the overall developer experience.
Changes
app/components/UI/SlippageSlider/index.js
toindex.tsx
Testing Instructions
yarn lint:tsc
to ensure there are no TypeScript errorsyarn lint
to check for any linting issuesType of change
Checklist
Screenshots (if appropriate)
N/A
Link to Devin run
https://preview.devin.ai/devin/4ad574862d434d798fc38e2416aa916d
This Devin run was requested by naveen
If you have any feedback, you can leave comments in the PR and I'll address them in the app!