🧹 Minor change in socket.io connection code
This commit is contained in:
@@ -106,7 +106,10 @@ export const App = (): ReactElement => {
|
||||
dispatch({
|
||||
type: "RESUME_SESSION",
|
||||
meta: { remote: true },
|
||||
data: { sessionId },
|
||||
session: { sessionId },
|
||||
});
|
||||
socketIOConnectionInstance.on("yelaveda", (data) => {
|
||||
console.log(data);
|
||||
});
|
||||
} else {
|
||||
// Inititalize the session and persist the sessionId to localStorage
|
||||
|
||||
@@ -21,7 +21,7 @@ export const PullList = ({ issues }: PullListProps): ReactElement => {
|
||||
useEffect(() => {
|
||||
dispatch(
|
||||
getWeeklyPullList({
|
||||
startDate: "2023-7-25",
|
||||
startDate: "2023-8-9",
|
||||
pageSize: "15",
|
||||
currentPage: "1",
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user