chore: update forum links in NavLinks (#39141)
This commit is contained in:
committed by
GitHub
parent
25cabc0a18
commit
34c26c4950
@ -23,7 +23,7 @@ describe('<NavLinks />', () => {
|
||||
return acc;
|
||||
}, []);
|
||||
|
||||
const expectedLinks = ['/learn', '/news', '/forum'];
|
||||
const expectedLinks = ['/learn', '/news', 'https://forum.freecodecamp.org'];
|
||||
|
||||
it('renders to the DOM', () => {
|
||||
expect(root).toBeTruthy();
|
||||
|
@ -17,7 +17,11 @@ function NavLinks({ displayMenu }) {
|
||||
</Link>
|
||||
</li>
|
||||
<li className='nav-forum'>
|
||||
<Link external={true} sameTab={true} to='/forum'>
|
||||
<Link
|
||||
external={true}
|
||||
sameTab={true}
|
||||
to='https://forum.freecodecamp.org'
|
||||
>
|
||||
/forum
|
||||
</Link>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user