9 changed files with 23 additions and 23 deletions
@ -1,8 +1,8 @@ |
|||
import { createRef } from "react"; |
|||
|
|||
export const squareRef = createRef(); |
|||
export const SquareRef = createRef(); |
|||
|
|||
export function navigate(name, params) { |
|||
squareRef.current?.navigate(name, params); |
|||
SquareRef.current?.navigate(name, params); |
|||
return true; |
|||
} |
@ -1,8 +1,8 @@ |
|||
import { configureStore } from '@reduxjs/toolkit'; |
|||
import rootReducer from './reducers/RootReducer'; |
|||
|
|||
const configStore = configureStore({ |
|||
const ConfigStore = configureStore({ |
|||
reducer: rootReducer |
|||
}); |
|||
|
|||
export default configStore; |
|||
export default ConfigStore; |
Loading…
Reference in new issue