Skip to content

Commit

Permalink
fix: shelterpc eslints
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Dec 2, 2024
1 parent e9e4639 commit 90650dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/shelteRPC/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createApi, webpackChunk } from '@cumjar/websmack'
import { backend, invoke } from '../../api/api.js'
import RegisteredGames from './components/RegisteredGames'
import RegisteredGames from './components/RegisteredGames.jsx'
import { css, classes } from './index.scss'

const {
Expand Down Expand Up @@ -101,7 +101,7 @@ async function handleMessage(e: MessageEvent<string>) {

const handleCmd = async (payload: any) => {
switch(payload.cmd) {
case 'INVITE_BROWSER':
case 'INVITE_BROWSER': {
const code = payload.args.code

if (code === '') {
Expand Down Expand Up @@ -140,8 +140,8 @@ const handleCmd = async (payload: any) => {
invite,
})

backend !== 'None' && invoke('ultrashow')
}
if (backend !== 'None') invoke('ultrashow')
}}
}

const retry = async (fn: (curTry: number) => any, times: number = 5, wait: number = 500) => {
Expand Down

0 comments on commit 90650dd

Please sign in to comment.