Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
christian morales authored and christian morales committed Sep 22, 2024
1 parent a4b6cbe commit fc55bb8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 247 deletions.
244 changes: 0 additions & 244 deletions src/app/api/solana/index.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/app/solana/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function SolanaTokenCreator() {

const onSubmit = (data: FormData) => {
const file = data.image[0];
console.log(data);
console.log(file);
// Handle token creation logic here
};

Expand Down Expand Up @@ -278,7 +278,7 @@ export default function SolanaTokenCreator() {
className="flex items-start space-x-3 bg-gray-50 dark:bg-gray-700 p-3 rounded-md cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-600 transition-colors duration-200"
onClick={() => {
const currentValue = watch(name as keyof FormData);
setValue(name, !currentValue);
setValue(name as keyof FormData, !currentValue);
updateTotalFee(name, !currentValue);
}}
>
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
"@/*": ["./src/*"]
},
"noImplicitAny": false,
"strictNullChecks": false
"strictNullChecks": false,
"useUnknownInCatchVariables": false,
"noUnusedLocals": false,
"noUnusedParameters": false
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
Expand Down

0 comments on commit fc55bb8

Please sign in to comment.