Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-torabiv committed Jan 20, 2025
1 parent 0c6c223 commit bd51d19
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useSiweAuth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const useSiweAuth = () => {
statement: 'Sign in with Ethereum to the app.',
});
},
getMessageBody: ({ message }) => message,
// getMessageBody: ({ message }) => message,
verify: async ({ message, signature }) => {
const { data } = await api.post('auth/siwe/verify', {
message,
Expand Down
12 changes: 6 additions & 6 deletions src/pages/Identifiers/Attestation/Attestation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { useState } from 'react';
import { Alert, AlertTitle, Paper } from '@mui/material';
import { useParams } from 'react-router-dom';

// import DiscourseStepFour from '../../../components/pages/Attestations/DiscourseStepFour';
// import DiscourseStepOne from '../../../components/pages/Attestations/DiscourseStepOne';
// import DiscourseStepThree from '../../../components/pages/Attestations/DiscourseStepThree';
// import DiscourseStepTwo from '../../../components/pages/Attestations/DiscourseStepTwo';
import DiscourseStepFour from '../../../components/pages/Attestations/DiscourseStepFour';

Check failure on line 5 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepFour' or its corresponding type declarations.

Check failure on line 5 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepFour' or its corresponding type declarations.

Check failure on line 5 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepFour' or its corresponding type declarations.

Check failure on line 5 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepFour' or its corresponding type declarations.
import DiscourseStepOne from '../../../components/pages/Attestations/DiscourseStepOne';

Check failure on line 6 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepOne' or its corresponding type declarations.

Check failure on line 6 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepOne' or its corresponding type declarations.

Check failure on line 6 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepOne' or its corresponding type declarations.

Check failure on line 6 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepOne' or its corresponding type declarations.
import DiscourseStepThree from '../../../components/pages/Attestations/DiscourseStepThree';

Check failure on line 7 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepThree' or its corresponding type declarations.

Check failure on line 7 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepThree' or its corresponding type declarations.

Check failure on line 7 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepThree' or its corresponding type declarations.

Check failure on line 7 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepThree' or its corresponding type declarations.
import DiscourseStepTwo from '../../../components/pages/Attestations/DiscourseStepTwo';

Check failure on line 8 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepTwo' or its corresponding type declarations.

Check failure on line 8 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepTwo' or its corresponding type declarations.

Check failure on line 8 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepTwo' or its corresponding type declarations.

Check failure on line 8 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/DiscourseStepTwo' or its corresponding type declarations.
import StepOne from '../../../components/pages/Attestations/StepOne';

Check failure on line 9 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/StepOne' or its corresponding type declarations.

Check failure on line 9 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/StepOne' or its corresponding type declarations.

Check failure on line 9 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/StepOne' or its corresponding type declarations.

Check failure on line 9 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/StepOne' or its corresponding type declarations.
import StepThree from '../../../components/pages/Attestations/StepThree';

Check failure on line 10 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/StepThree' or its corresponding type declarations.

Check failure on line 10 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/StepThree' or its corresponding type declarations.

Check failure on line 10 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/StepThree' or its corresponding type declarations.

Check failure on line 10 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/StepThree' or its corresponding type declarations.
import StepTwo from '../../../components/pages/Attestations/StepTwo';

Check failure on line 11 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/StepTwo' or its corresponding type declarations.

Check failure on line 11 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/StepTwo' or its corresponding type declarations.

Check failure on line 11 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/StepTwo' or its corresponding type declarations.

Check failure on line 11 in src/pages/Identifiers/Attestation/Attestation.tsx

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find module '../../../components/pages/Attestations/StepTwo' or its corresponding type declarations.
Expand Down Expand Up @@ -51,7 +51,7 @@ export default function Attestation() {
return (
<>
<CustomBreadcrumb breadcrumbs={breadcrumbs} className="pb-3" />
{/* <Paper
<Paper
sx={{
height: 'calc(100vh - 140px)',
p: 2,
Expand Down Expand Up @@ -87,7 +87,7 @@ export default function Attestation() {
{activeStep === 3 && (
<DiscourseStepFour attestedSignutare={attestedSignutare} />
)}
</Paper> */}
</Paper>
</>
);
}
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
".eslintrc.cjs",
"src",
"src/**/*.tsx",
"src/**/*.ts"
"src/**/*.ts",
"src/**/**/*.tsx",
"src/**/**/*.ts"
]
}

0 comments on commit bd51d19

Please sign in to comment.