File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { css } from 'glamor';
22import Interval from 'react-interval' ;
33import loremIpsum from 'lorem-ipsum' ;
44import React from 'react' ;
5- import ScrollToBottom from 'component' ;
5+ import ScrollToEnd from 'component' ;
66
77const FADE_IN_ANIMATION = css . keyframes ( {
88 '0%' : { opacity : .2 } ,
@@ -117,16 +117,16 @@ class App extends React.Component {
117117 </ li >
118118 </ ul >
119119 < div className = "panes" >
120- < ScrollToBottom className = { SCROLL_VIEW_CSS + '' } >
120+ < ScrollToEnd className = { SCROLL_VIEW_CSS + '' } >
121121 < div className = { SCROLL_VIEW_PADDING_CSS + '' } >
122122 { this . state . paragraphs . map ( paragraph => < p key = { paragraph } > { paragraph } </ p > ) }
123123 </ div >
124- </ ScrollToBottom >
125- < ScrollToBottom className = { SCROLL_VIEW_CSS + '' } mode = "top" >
124+ </ ScrollToEnd >
125+ < ScrollToEnd className = { SCROLL_VIEW_CSS + '' } mode = "top" >
126126 < div className = { SCROLL_VIEW_PADDING_CSS + '' } >
127127 { [ ...this . state . paragraphs ] . reverse ( ) . map ( paragraph => < p key = { paragraph } > { paragraph } </ p > ) }
128128 </ div >
129- </ ScrollToBottom >
129+ </ ScrollToEnd >
130130 </ div >
131131 { this . state . intervalEnabled &&
132132 < Interval
You can’t perform that action at this time.
0 commit comments