Skip to content

Commit

Permalink
make the linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
bmuller committed Apr 25, 2024
1 parent 76b7794 commit 9879143
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { PropsWithChildren, createContext, useContext, useEffect, useStat
import ButtonImg from './medium-passport-button.svg'

import { loadParallel } from '@parallelmarkets/vanilla'
import type { AuthCallbackResult, Parallel, ProfileApiResponse } from '@parallelmarkets/vanilla'
import type { AuthCallbackResult, ProfileApiResponse } from '@parallelmarkets/vanilla'

type LoadParallelPromise = ReturnType<typeof loadParallel>
type LoadParallelResult = Awaited<ReturnType<typeof loadParallel>>
Expand Down
4 changes: 2 additions & 2 deletions packages/vanilla/src/__tests__/index-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ global.window.Parallel = {
on_init?.()
},
getLoginStatus: () => null,
getProfile: () => null,
getProfile: () => null,
login: () => null,
logout: () => null,
unsubscribe: () => null,
Expand All @@ -25,7 +25,7 @@ global.window.Parallel = {
_appendLoadContext: () => null,
get _config() {
return window.config
}
},
}

test('Configuration is set correctly', async () => {
Expand Down

0 comments on commit 9879143

Please sign in to comment.