-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ESLint errors related to unused variables and explicit 'any' types
Fixes #14 Fix TypeScript ESLint errors related to unused variables and explicit 'any' types. * **Remove unused variables:** - `src/app/api/domains/check-availability/route.ts`: Remove the unused variable `error`. - `src/app/favorites/page.tsx`: Remove the unused variable `router`. - `src/components/DomainGeneratorForm.tsx`: Remove the unused variable `favorites`. - `src/components/LoginForm.tsx`: Remove the unused variable `err`. - `src/components/RegisterForm.tsx`: Remove the unused variable `err`. - `src/services/domainGenerator.ts`: Remove the unused variables `prefixes` and `tlds`. * **Replace explicit 'any' type:** - `src/components/DomainGeneratorForm.tsx`: Replace `any` with `unknown` and cast to `React.FormEvent` in the `handleSubmit` function. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ggindev/domAIn/issues/14?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
6 changed files
with
5 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters