feat: add mobile responsiveness improvements #7
Annotations
21 errors and 7 warnings
|
ʦ TypeScript:
app/routes/essays.tsx#L72
Property 'title' does not exist on type 'JsonifyObject<{ id: string; essayPrompt: string; }>'.
|
|
ʦ TypeScript:
app/routes/essays.tsx#L29
Type 'JsonifyObject<{ id: string; essayPrompt: string; }>[]' is not assignable to type '{ id: string; title: string; }[]'.
|
|
ʦ TypeScript:
app/routes/essays._index.tsx#L12
Type '{ children: string; class: string; }' is not assignable to type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>'.
|
|
ʦ TypeScript:
app/routes/auth.google.callback.tsx#L24
Argument of type '{ request: Request; }' is not assignable to parameter of type 'LoaderFunctionArgs'.
|
|
ʦ TypeScript:
app/models/essay.server.ts#L57
Type 'string | null' is not assignable to type 'string'.
|
|
ʦ TypeScript:
app/lib/auth/google.server.ts#L1
Cannot find module 'remix-auth-oauth2' or its corresponding type declarations.
|
|
ʦ TypeScript:
app/lib/auth/auth.server.ts#L10
Cannot find module 'remix-auth' or its corresponding type declarations.
|
|
ʦ TypeScript:
app/components/google-account-manager.tsx#L24
Property 'get' does not exist on type 'never'.
|
|
ʦ TypeScript:
app/components/google-account-manager.tsx#L23
Property 'get' does not exist on type 'never'.
|
|
ʦ TypeScript:
app/components/cloud-picker.tsx#L115
Property 'addView' does not exist on type 'new () => { addView: (view: string) => ...; setOAuthToken: (token: string) => ...; setDeveloperKey: (key: string) => ...; setCallback: (callback: (data: GooglePickerResponse) => void) => ...; build: () => { ...; }; }'.
|
|
⬣ ESLint:
app/lib/auth/auth.server.ts#L4
`~/models/google-credential.server` import should occur before import of `~/session.server`
|
|
⬣ ESLint:
app/lib/auth/auth.server.ts#L3
There should be at least one empty line between import groups
|
|
⬣ ESLint:
app/lib/auth/auth.server.ts#L2
There should be at least one empty line between import groups
|
|
⬣ ESLint:
app/lib/auth/auth.server.ts#L1
'prisma' is defined but never used
|
|
⬣ ESLint:
app/components/mobile-nav.tsx#L114
The element ul has an implicit role of list. Defining this explicitly is redundant and should be avoided
|
|
⬣ ESLint:
app/components/mobile-nav.tsx#L5
Array type using 'Array<T>' is forbidden. Use 'T[]' instead
|
|
⬣ ESLint:
app/components/mobile-nav.tsx#L2
`@remix-run/react` import should occur before import of `react`
|
|
⬣ ESLint:
app/components/google-account-manager.tsx#L34
'accountId' is defined but never used
|
|
⬣ ESLint:
app/components/cloud-picker.tsx#L14
Array type using 'Array<T>' is forbidden. Use 'T[]' instead
|
|
⬣ ESLint:
app/components/cloud-picker.tsx#L5
Array type using 'Array<T>' is forbidden. Use 'T[]' instead
|
|
⚫️ Cypress
Process completed with exit code 1.
|
|
⬣ ESLint:
app/routes/auth.google.callback.tsx#L3
'/home/runner/work/Scholarships-Plus/Scholarships-Plus/app/lib/auth/auth.server.ts' imported multiple times
|
|
⬣ ESLint:
app/routes/auth.google.callback.tsx#L2
'/home/runner/work/Scholarships-Plus/Scholarships-Plus/app/lib/auth/auth.server.ts' imported multiple times
|
|
⬣ ESLint:
app/components/mobile-nav.tsx#L59
Potential leaked value that might cause unintentionally rendered values or rendering crashes
|
|
⬣ ESLint:
app/components/google-account-manager.tsx#L156
Potential leaked value that might cause unintentionally rendered values or rendering crashes
|
|
⬣ ESLint:
app/components/cloud-picker.tsx#L202
Potential leaked value that might cause unintentionally rendered values or rendering crashes
|
|
⬣ ESLint:
app/components/cloud-picker.tsx#L196
Potential leaked value that might cause unintentionally rendered values or rendering crashes
|
|
⬣ ESLint:
app/components/cloud-picker.tsx#L129
React Hook useCallback has a missing dependency: 'pickerCallback'. Either include it or remove the dependency array
|