Skip to content

Commit 8bb3378

Browse files
committed
Fix exception
- contentPanel is an internal property, the code was referencing itself.
1 parent 4d6ce7b commit 8bb3378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/coder/gateway/views/CoderGatewayConnectionComponent.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ import java.awt.BorderLayout
1111

1212
class CoderGatewayConnectionComponent(val lifetime: Lifetime, val url: String, val workspaceId: String) : BorderLayoutPanel() {
1313
private val disposable = Disposer.newDisposable()
14-
private val contentPanel = BorderLayoutPanel().apply {
14+
private val mainPanel = BorderLayoutPanel().apply {
1515
add(JBLabel(IconManager.getInstance().getIcon("coder_logo_52.svg", CoderGatewayConnectionComponent::class.java)), "Center")
1616
}
1717
val loadingPanel = JBLoadingPanel(BorderLayout(), disposable).apply {
1818
startLoading()
19-
add(contentPanel, "Center")
19+
add(mainPanel, "Center")
2020
}
2121

2222
init {

0 commit comments

Comments
 (0)