add button and download link state variables and useEffect logic to c… #2002
Annotations
7 errors and 6 warnings
client/src/components/CopyLinkButton.js#L12
Unexpected console statement (no-console)
|
client/src/components/CopyLinkButton.js#L16
'React' must be in scope when using JSX (react/react-in-jsx-scope)
|
client/src/components/CopyLinkButton.js#L21
'React' must be in scope when using JSX (react/react-in-jsx-scope)
|
client/src/components/CopyLinkButton.js#L29
'value' is assigned a value but never used (no-unused-vars)
|
client/src/components/CopyLinkButton.js#L58
'React' must be in scope when using JSX (react/react-in-jsx-scope)
|
client/src/components/CopyLinkButton.js#L59
'React' must be in scope when using JSX (react/react-in-jsx-scope)
|
client/src/components/CopyLinkButton.js#L67
'React' must be in scope when using JSX (react/react-in-jsx-scope)
|
client/src/components/CopyLinkButton.js#L65
Prop spreading is forbidden (react/jsx-props-no-spreading)
|
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run linters
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
pre-commit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, pre-commit/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
pre-commit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2, pre-commit/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|