Skip to content

Commit

Permalink
fix issues from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikbossart committed Sep 18, 2023
1 parent f8434f9 commit 8c076e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 3 additions & 5 deletions example/src/plugins/job-ui-single/pages/JobControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ import {
useJob,
} from '@development-framework/dm-core'
import React, { useState } from 'react'
import { Button, Card, Icon } from '@equinor/eds-core-react'
import { Button, Card, Icon, Typography } from '@equinor/eds-core-react'
import { refresh } from '@equinor/eds-icons'
import styled from 'styled-components'
import { JobControlButton } from './JobControlButton'
import { Button, Chip, Icon, Typography } from '@equinor/eds-core-react'
import { stop, play } from '@equinor/eds-icons'

const JobButtonWrapper = styled.div`
display: flex;
Expand Down Expand Up @@ -62,7 +60,7 @@ export const JobControl = (props: { jobEntityId: string }) => {
)}
{(error || logs) && (
<>
<h4>Logs:</h4>
<Typography variant="h4">Logs:</Typography>
{error ? (
<pre>{JSON.stringify(error, null, 2)}</pre>
) : (
Expand All @@ -73,7 +71,7 @@ export const JobControl = (props: { jobEntityId: string }) => {

{result && (
<>
<h4>Result:</h4>
<Typography variant="h4">Result:</Typography>
<pre>{result.message}</pre>
<pre>{result.result}</pre>
</>
Expand Down
2 changes: 0 additions & 2 deletions packages/dm-core/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
export * from './components'

export * from './hooks'

export { AuthContext, AuthProvider } from 'react-oauth2-code-pkce'
Expand Down

0 comments on commit 8c076e0

Please sign in to comment.