File tree Expand file tree Collapse file tree
fixtures/attribute-behavior/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -860,7 +860,7 @@ class App extends React.Component {
860860 } ) ;
861861 break ;
862862 default :
863- throw new Error ( 'Switch statement should be exhuastive ' ) ;
863+ throw new Error ( 'Switch statement should be exhaustive ' ) ;
864864 }
865865
866866 // Sort
@@ -887,7 +887,7 @@ class App extends React.Component {
887887 } ) ;
888888 }
889889 default :
890- throw new Error ( 'Switch statement should be exhuastive ' ) ;
890+ throw new Error ( 'Switch statement should be exhaustive ' ) ;
891891 }
892892 }
893893
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ function escapeHtml(string) {
5656
5757 let escape ;
5858 let html = '' ;
59- let index = 0 ;
59+ let index ;
6060 let lastIndex = 0 ;
6161
6262 for ( index = match . index ; index < str . length ; index ++ ) {
Original file line number Diff line number Diff line change @@ -811,7 +811,7 @@ function mountLazyComponent(
811811 break ;
812812 }
813813 default : {
814- // This message intentionally doesn't metion ForwardRef or MemoComponent
814+ // This message intentionally doesn't mention ForwardRef or MemoComponent
815815 // because the fact that it's a separate type of work is an
816816 // implementation detail.
817817 invariant (
You can’t perform that action at this time.
0 commit comments