Remove unnecessary code
This commit is contained in:
parent
835d21315d
commit
637731fba3
3 changed files with 0 additions and 15 deletions
|
@ -3,11 +3,6 @@
|
|||
module Widgets
|
||||
class Chat < VPanel
|
||||
class History < React::Component
|
||||
def draw
|
||||
elem = render
|
||||
React::Curses::Nodes.klass_for(elem).new(parent, elem).draw
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def render
|
||||
|
|
|
@ -5,11 +5,6 @@ module Widgets
|
|||
class Info < React::Component
|
||||
PUBLIC_KEY_LABEL = 'Public key: '
|
||||
|
||||
def draw
|
||||
elem = render
|
||||
React::Curses::Nodes.klass_for(elem).new(parent, elem).draw
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def render
|
||||
|
|
|
@ -26,11 +26,6 @@ module Widgets
|
|||
end
|
||||
end
|
||||
|
||||
def draw
|
||||
elem = render
|
||||
React::Curses::Nodes.klass_for(elem).new(parent, elem).draw
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def total
|
||||
|
|
Reference in a new issue