File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
packages/changed-elements-react/src/NamedVersionSelector Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ export function NamedVersionSelectorWidget(props: Readonly<NamedVersionSelectorW
94
94
}
95
95
96
96
if ( ! iModel . iTwinId || ! iModel . iModelId || ! iModel . changeset . id ) {
97
- return < NoNamedVersionsState /> ;
97
+ throw new Error ( "Empty IModel Connection" )
98
98
}
99
99
100
100
const iTwinId = iModel . iTwinId ;
@@ -224,14 +224,6 @@ function EmptyState(): ReactElement {
224
224
) ;
225
225
}
226
226
227
- function NoNamedVersionsState ( ) : ReactElement {
228
- return (
229
- < Text className = "_cer_v1_empty-state" isMuted >
230
- { t ( "VersionCompare:versionCompare.noNamedVersions" ) }
231
- </ Text >
232
- ) ;
233
- }
234
-
235
227
function LoadingState ( ) : ReactElement {
236
228
return (
237
229
< LoadingContent >
You can’t perform that action at this time.
0 commit comments