File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ class ReactFullpage extends React.Component {
8282 // NOTE: if fullpage props have changed we need to rebuild
8383 if ( ! areSameSectionColors ) {
8484 this . log ( 'rebuilding due to a change in fullpage.js props' ) ;
85- this . reBuild ( ) ;
85+ this . reRender ( ) ;
8686 return ;
8787 }
8888
@@ -92,7 +92,7 @@ class ReactFullpage extends React.Component {
9292
9393 // NOTE: if sections/slides have changed we need to rebuild
9494 this . log ( 'rebuilding due to a change in fullpage.js sections/slides' ) ;
95- this . reBuild ( ) ;
95+ this . reRender ( ) ;
9696 }
9797
9898 componentWillUnmount ( ) {
@@ -134,7 +134,7 @@ class ReactFullpage extends React.Component {
134134 this . fullpageApi . destroy ( 'all' ) ;
135135 }
136136
137- reBuild ( ) {
137+ reRender ( ) {
138138 this . destroy ( ) ;
139139 this . init ( this . buildOptions ( ) ) ;
140140 }
You can’t perform that action at this time.
0 commit comments