lint
This commit is contained in:
parent
ce6563f332
commit
1f59565219
|
|
@ -42,7 +42,7 @@ const PromptButton: React.FC<{
|
||||||
}> = ({ error, actions }) => {
|
}> = ({ error, actions }) => {
|
||||||
const [pageSnapshot, setPageSnapshot] = React.useState<string>();
|
const [pageSnapshot, setPageSnapshot] = React.useState<string>();
|
||||||
|
|
||||||
React.useEffect(( )=> {
|
React.useEffect(() => {
|
||||||
for (const action of actions) {
|
for (const action of actions) {
|
||||||
for (const attachment of action.attachments ?? []) {
|
for (const attachment of action.attachments ?? []) {
|
||||||
if (attachment.name === 'pageSnapshot') {
|
if (attachment.name === 'pageSnapshot') {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue