refactor: remove extraneous variable

This commit is contained in:
Anna 2022-01-06 16:19:27 -05:00
parent 98874140bb
commit d056bb38ca

View File

@ -69,9 +69,7 @@ internal sealed class ChatLog : IUiComponent {
return; return;
} }
var sidebar = this.Ui.Plugin.Config.SidebarTabView; var currentTab = this.Ui.Plugin.Config.SidebarTabView
var currentTab = sidebar
? this.DrawTabSidebar() ? this.DrawTabSidebar()
: this.DrawTabBar(); : this.DrawTabBar();