Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
lucvysk committed Apr 3, 2024
1 parent 3c9fd0f commit 9f96b8c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions react/DynamicIframe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ function DynamicIframe({
let allParamsExist = true

const queryStringSearch = Object.keys(params).length
? Object.keys(query).reduce((acc, key) => {
return `${acc || '?'}${key}=${query[key]}&`
}, '') : ``;
? Object.keys(query).reduce((acc, key) => {
return `${acc || '?'}${key}=${query[key]}&`

Check failure on line 38 in react/DynamicIframe.tsx

View workflow job for this annotation

GitHub Actions / Lint

Delete `··`
}, '')
: ``;

Check failure on line 40 in react/DynamicIframe.tsx

View workflow job for this annotation

GitHub Actions / Lint

Delete `;`

const src = dynamicSrc.replace(/({[A-z0-9]*})/g, (match: string) => {
const thisParam = match.replace(/{|}/g, '')
Expand Down

0 comments on commit 9f96b8c

Please sign in to comment.