Skip to content

Commit f0ce9b2

Browse files
committed
Updated for csw-6.0.0, esw-1.0.2
1 parent a78a9e7 commit f0ce9b2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/components/SubmitCommand.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ export const SubmitCommand = ({
8282
switch (result._type) {
8383
case 'Started':
8484
setResult(result)
85-
const res = await commandService.queryFinal(result.runId, 5)
86-
setResult(res)
85+
setResult(await commandService.queryFinal(result.runId, 5))
8786
break
8887
default:
8988
setResult(result)

src/components/SubscribeEvent.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export const SubscribeEvent = ({
7171
},
7272
{
7373
title: 'Values',
74-
// eslint-disable-next-line react/display-name
7574
render: (_: string, event: Event) => {
7675
const counterParam = event.get(intKey('counter')) ?? { values: [] }
7776
return <span>{counterParam.values.join(',')}</span>

src/contexts/LocationServiceContext.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ const LocationServiceContext = createContext<LocationService | undefined>(
99
export const LocationServiceProvider = ({
1010
children,
1111
locationService
12-
}: PropsWithChildren<{ locationService: LocationService }>): React.JSX.Element => (
12+
}: PropsWithChildren<{
13+
locationService: LocationService
14+
}>): React.JSX.Element => (
1315
<LocationServiceContext.Provider value={locationService}>
1416
{children}
1517
</LocationServiceContext.Provider>

0 commit comments

Comments
 (0)