Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Apr 23, 2024
1 parent 119a174 commit 0268c7d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const IframePlugin = ({
// 2. check if there is an installed app for the item type
// and use its plugin launch URL
if (appKey) {
const appDetails = apps.find((app) => app.key === appKey)
const appDetails = apps.find(app => app.key === appKey)

if (appDetails.baseUrl) {
return `${appDetails.baseUrl}/plugin.html`
Expand All @@ -108,7 +108,7 @@ const IframePlugin = ({
if (iframeRef?.current && !isCached) {
postRobot
.send(iframeRef.current.contentWindow, 'removeCachedData')
.catch((err) => {
.catch(err => {
// catch error if iframe hasn't loaded yet
const msg = 'No handler found for post message:'
if (err.message.startsWith(msg)) {
Expand Down Expand Up @@ -167,7 +167,7 @@ const IframePlugin = ({
{
window: iframeRef.current.contentWindow,
},
(event) => {
event => {
if (isFirstOfType) {
dispatch(
acAddIframePluginStatus({
Expand Down

0 comments on commit 0268c7d

Please sign in to comment.