do some renaming
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
e6ab18c9ba
commit
2b37fe7624
2 changed files with 4 additions and 4 deletions
|
@ -39,7 +39,7 @@ import * as sdk from "../../../index";
|
|||
import * as Receipt from "../../../utils/Receipt";
|
||||
import {Resizer} from '../../../resizer';
|
||||
import {Layout, Distributor} from '../../../resizer/distributors/roomsublist2';
|
||||
import {RovingTabIndexContextWrapper} from "../../../contexts/RovingTabIndexContext";
|
||||
import {RovingTabIndexContextProvider} from "../../../contexts/RovingTabIndexContext";
|
||||
|
||||
const HIDE_CONFERENCE_CHANS = true;
|
||||
const STANDARD_TAGS_REGEX = /^(m\.(favourite|lowpriority|server_notice)|im\.vector\.fake\.(invite|recent|direct|archived))$/;
|
||||
|
@ -788,9 +788,9 @@ export default createReactClass({
|
|||
onMouseMove={this.onMouseMove}
|
||||
onMouseLeave={this.onMouseLeave}
|
||||
>
|
||||
<RovingTabIndexContextWrapper>
|
||||
<RovingTabIndexContextProvider>
|
||||
{ subListComponents }
|
||||
</RovingTabIndexContextWrapper>
|
||||
</RovingTabIndexContextProvider>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
|
|
@ -109,7 +109,7 @@ const reducer = (state, action) => {
|
|||
}
|
||||
};
|
||||
|
||||
export const RovingTabIndexContextWrapper = ({children}) => {
|
||||
export const RovingTabIndexContextProvider = ({children}) => {
|
||||
const [state, dispatch] = useReducer(reducer, {
|
||||
activeRef: null,
|
||||
refs: [],
|
||||
|
|
Loading…
Reference in a new issue