feat: learning pathway build implementation && intro tour guide #123
Annotations
4 errors and 2 warnings
src/tests/components/Navbar.test.tsx > Navbar > renders logo and title on small screens:
src/components/Navbar.tsx#L21
Error: useLocation() may be used only in the context of a <Router> component.
❯ Object.invariant [as UNSAFE_invariant] node_modules/@remix-run/router/history.ts:494:11
❯ Proxy.useLocation node_modules/react-router/lib/hooks.tsx:104:3
❯ Navbar src/components/Navbar.tsx:21:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
|
src/tests/components/Navbar.test.tsx > Navbar > renders Github link on all screens:
src/components/Navbar.tsx#L21
Error: useLocation() may be used only in the context of a <Router> component.
❯ Object.invariant [as UNSAFE_invariant] node_modules/@remix-run/router/history.ts:494:11
❯ Proxy.useLocation node_modules/react-router/lib/hooks.tsx:104:3
❯ Navbar src/components/Navbar.tsx:21:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
|
src/tests/components/Navbar.test.tsx > Navbar > shows hover effect on menu items:
src/components/Navbar.tsx#L21
Error: useLocation() may be used only in the context of a <Router> component.
❯ Object.invariant [as UNSAFE_invariant] node_modules/@remix-run/router/history.ts:494:11
❯ Proxy.useLocation node_modules/react-router/lib/hooks.tsx:104:3
❯ Navbar src/components/Navbar.tsx:21:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
|
Build playground (18.x)
Process completed with exit code 1.
|
Build playground (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build playground (18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|