File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,13 @@ const ObjectSummary = (): React.ReactElement => {
39
39
</ div >
40
40
< h2 > { title } </ h2 >
41
41
< div > { HtmlReactParser ( description ) } </ div >
42
- { loaded ? < div style = { { marginBlock : "1rem" } } > < ObjectButtonBar pid = { currentPid } /> </ div > : "" }
42
+ { loaded ? (
43
+ < div style = { { marginBlock : "1rem" } } >
44
+ < ObjectButtonBar pid = { currentPid } />
45
+ </ div >
46
+ ) : (
47
+ ""
48
+ ) }
43
49
{ loaded ? < ObjectOrder pid = { currentPid } /> : "" }
44
50
{ loaded ? < ObjectChildCounts pid = { currentPid } /> : "" }
45
51
PID: { currentPid } < CopyPidButton pid = { currentPid } />
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export const ChildList = ({
127
127
const endNumber = startNumber + pageSize - 1 ;
128
128
const paginatorLabel =
129
129
children . numFound > 1 ? (
130
- < p class = { styles . childlist__pagination } >
130
+ < p className = { styles . childlist__pagination } >
131
131
Showing { startNumber } - { children . numFound < endNumber ? children . numFound : endNumber } of{ " " }
132
132
{ children . numFound }
133
133
</ p >
@@ -141,7 +141,9 @@ export const ChildList = ({
141
141
< Grid item xs = "auto" >
142
142
{ paginator }
143
143
</ Grid >
144
- < Grid item xs > </ Grid >
144
+ < Grid item xs >
145
+
146
+ </ Grid >
145
147
< Grid item xs = "auto" className = { styles . childlist__toggles } >
146
148
{ thumbsButton }
147
149
{ modelsButton }
Original file line number Diff line number Diff line change 1
- import React , { useState } from "react" ;
1
+ import React from "react" ;
2
2
import styles from "./Datastream.module.css" ;
3
3
import Button from "@mui/material/Button" ;
4
4
import DataObject from "@mui/icons-material/DataObject" ;
@@ -29,7 +29,6 @@ const DatastreamControlButton = ({
29
29
datastream,
30
30
disabled,
31
31
} : DatastreamControlButtonProps ) : React . ReactElement => {
32
- const [ isLoading , setLoading ] = useState ( false ) ;
33
32
const {
34
33
action : { setActiveDatastream, setDatastreamModalState } ,
35
34
} = useEditorContext ( ) ;
You can’t perform that action at this time.
0 commit comments