Skip to content

prettier fixing

ce23953
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Update to Latest Next-JS-Auth0 Version #50

prettier fixing
ce23953
Select commit
Loading
Failed to load commit list.
GitHub Actions / ESLint failed Apr 2, 2026 in 0s

7 errors

ESLint found 7 errors

Annotations

Check failure on line 6 in app/Content.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

app/Content.tsx#L6

'Pane' is defined but never used (@typescript-eslint/no-unused-vars)

Check failure on line 6 in app/Content.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

app/Content.tsx#L6

'Text' is defined but never used (@typescript-eslint/no-unused-vars)

Check failure on line 6 in app/Content.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

app/Content.tsx#L6

'Paragraph' is defined but never used (@typescript-eslint/no-unused-vars)

Check failure on line 64 in components/MailForm/DigestForm/Forms.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

components/MailForm/DigestForm/Forms.tsx#L64

Error: Calling setState synchronously within an effect can trigger cascading renders

Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:
* Update external systems with the latest state from React.
* Subscribe for updates from some external system, calling setState in a callback function when external state changes.

Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).

/home/runner/work/stuff/stuff/components/MailForm/DigestForm/Forms.tsx:64:13
  62 |         }
  63 |         if (hasInteractedName.current) {
> 64 |             setNameInvalid(name === '');
     |             ^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect
  65 |         }
  66 |         if (hasInteractedDesc.current) {
  67 |             setDescInvalid(desc === ''); (react-hooks/set-state-in-effect)

Check failure on line 165 in components/MailForm/DigestForm/Forms.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

components/MailForm/DigestForm/Forms.tsx#L165

Error: Calling setState synchronously within an effect can trigger cascading renders

Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:
* Update external systems with the latest state from React.
* Subscribe for updates from some external system, calling setState in a callback function when external state changes.

Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).

/home/runner/work/stuff/stuff/components/MailForm/DigestForm/Forms.tsx:165:13
  163 |         }
  164 |         if (hasInteractedDesc.current) {
> 165 |             setDescInvalid(desc === '');
      |             ^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect
  166 |         }
  167 |     }, [desc]);
  168 | (react-hooks/set-state-in-effect)

Check failure on line 249 in components/MailForm/DigestForm/Forms.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

components/MailForm/DigestForm/Forms.tsx#L249

Error: Calling setState synchronously within an effect can trigger cascading renders

Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:
* Update external systems with the latest state from React.
* Subscribe for updates from some external system, calling setState in a callback function when external state changes.

Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).

/home/runner/work/stuff/stuff/components/MailForm/DigestForm/Forms.tsx:249:13
  247 |         }
  248 |         if (hasInteractedName.current) {
> 249 |             setNameInvalid(name === '');
      |             ^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect
  250 |         }
  251 |         if (hasInteractedDesc.current) {
  252 |             setDescInvalid(desc === ''); (react-hooks/set-state-in-effect)

Check failure on line 65 in components/PostPage.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint

components/PostPage.tsx#L65

Error: Calling setState synchronously within an effect can trigger cascading renders

Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:
* Update external systems with the latest state from React.
* Subscribe for updates from some external system, calling setState in a callback function when external state changes.

Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).

/home/runner/work/stuff/stuff/components/PostPage.tsx:65:13
  63 |         const lastPage = data[data.length - 1];
  64 |         if (Array.isArray(lastPage) && lastPage.length === 0 && !finished) {
> 65 |             setFinished(true);
     |             ^^^^^^^^^^^ Avoid calling setState() directly within an effect
  66 |         }
  67 |     }, [data, finished]);
  68 | (react-hooks/set-state-in-effect)