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