diff --git a/package.json b/package.json
index 87bb2f3..cc8544f 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,7 @@
"@fortawesome/fontawesome-free": "^6.3.0",
"@redux-devtools/extension": "^3.2.2",
"@rollup/plugin-node-resolve": "^15.0.1",
- "@tanstack/react-table": "^8.5.11",
+ "@tanstack/react-table": "^8.9.3",
"@types/axios": "^0.14.0",
"@types/mime-types": "^2.1.0",
"@types/react-router-dom": "^5.3.3",
diff --git a/src/client/actions/comicinfo.actions.tsx b/src/client/actions/comicinfo.actions.tsx
index 5224eb9..715ae34 100644
--- a/src/client/actions/comicinfo.actions.tsx
+++ b/src/client/actions/comicinfo.actions.tsx
@@ -127,7 +127,7 @@ export const analyzeLibrary = (issues) => async (dispatch) => {
queryObjects,
},
});
-
+
dispatch({
type: CV_ISSUES_MATCHES_IN_LIBRARY_FETCHED,
matches: foo.data,
diff --git a/src/client/components/Dashboard/Dashboard.tsx b/src/client/components/Dashboard/Dashboard.tsx
index 4978d23..1ded75e 100644
--- a/src/client/components/Dashboard/Dashboard.tsx
+++ b/src/client/components/Dashboard/Dashboard.tsx
@@ -12,6 +12,7 @@ import {
} from "../../actions/fileops.actions";
import { getLibraryStatistics } from "../../actions/comicinfo.actions";
import { isEmpty, isNil } from "lodash";
+import Header from "../Header";
export const Dashboard = (): ReactElement => {
const dispatch = useDispatch();
@@ -64,6 +65,48 @@ export const Dashboard = (): ReactElement => {
<>
{/* Pull List */}
| Pos | +Team | +Pld | +W | +D | +L | +GF | +GA | +GD | +Pts | +Qualification or relegation | +
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | +Leicester City (C) + | +38 | +23 | +12 | +3 | +68 | +36 | ++32 | +81 | +Qualification for the Champions League group stage | +
- Pull List aggregated for the week from League Of Comic Geeks -
++ {props.subHeaderContent} +
+ >) + +} + +export default Header; \ No newline at end of file diff --git a/src/client/reducers/fileops.reducer.ts b/src/client/reducers/fileops.reducer.ts index 78cac4b..c18e848 100644 --- a/src/client/reducers/fileops.reducer.ts +++ b/src/client/reducers/fileops.reducer.ts @@ -62,9 +62,11 @@ const initialState = { librarySearchError: {}, libraryServiceStatus: {}, }; - function fileOpsReducer(state = initialState, action) { switch (action.type) { + case "sessionId": + console.log(action); + break; case IMS_COMICBOOK_METADATA_FETCHED: return { ...state, diff --git a/src/client/store/index.ts b/src/client/store/index.ts index b93fdec..2ff4813 100644 --- a/src/client/store/index.ts +++ b/src/client/store/index.ts @@ -8,7 +8,7 @@ import { reducers } from "../reducers/index"; import { io } from "socket.io-client"; import socketIoMiddleware from "redux-socket.io-middleware"; import { SOCKET_BASE_URI } from "../constants/endpoints"; -const socketConnection = io(SOCKET_BASE_URI, { transports: ["websocket"] }); +const socketConnection = io(SOCKET_BASE_URI, { transports: ["websocket"], withCredentials: true, }); const { createReduxHistory, routerMiddleware, routerReducer } = createReduxHistoryContext({ diff --git a/yarn.lock b/yarn.lock index b28c944..b65c5aa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3294,17 +3294,17 @@ "@types/express" "^4.7.0" file-system-cache "^2.0.0" -"@tanstack/react-table@^8.5.11": - version "8.5.11" - resolved "https://registry.yarnpkg.com/@tanstack/react-table/-/react-table-8.5.11.tgz#544f551f15412087edfc2df01bed9697aab4651f" - integrity sha512-bIegBJ3VPUX3Z7rMnFEnTRCRgPccTsciilQA1ib/pA6M7Qq1boTNPjNjSbEHmBKytaxPrPfcUfzkZLogYtvu3g== +"@tanstack/react-table@^8.9.3": + version "8.9.3" + resolved "https://registry.yarnpkg.com/@tanstack/react-table/-/react-table-8.9.3.tgz#03a52e9e15f65c82a8c697a445c42bfca0c5cfc4" + integrity sha512-Ng9rdm3JPoSCi6cVZvANsYnF+UoGVRxflMb270tVj0+LjeT/ZtZ9ckxF6oLPLcKesza6VKBqtdF9mQ+vaz24Aw== dependencies: - "@tanstack/table-core" "8.5.11" + "@tanstack/table-core" "8.9.3" -"@tanstack/table-core@8.5.11": - version "8.5.11" - resolved "https://registry.yarnpkg.com/@tanstack/table-core/-/table-core-8.5.11.tgz#a23178a097df4b0b64bdfa6f79e6d8933e97c7f7" - integrity sha512-ZN61ockLaIAiiPbZfMKT2S03nbWx28OHg/nAiDnNfmN4QmAMcdwVajPn2QQwnNVGAr4jS4nbhbYzCcjq8livXQ== +"@tanstack/table-core@8.9.3": + version "8.9.3" + resolved "https://registry.yarnpkg.com/@tanstack/table-core/-/table-core-8.9.3.tgz#991da6b015f6200fdc841c48048bee5e197f6a46" + integrity sha512-NpHZBoHTfqyJk0m/s/+CSuAiwtebhYK90mDuf5eylTvgViNOujiaOaxNDxJkQQAsVvHWZftUGAx1EfO1rkKtLg== "@testing-library/dom@^8.3.0": version "8.20.0"