Skip to content

Commit bae4744

Browse files
Merge pull request #2620 from nahidshahin/issues-2395
Issue #2395 Fix
2 parents 748ea5e + 12932a3 commit bae4744

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

__tests__/shared/components/Header/__snapshots__/index.jsx.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ exports[`Default render 1`] = `
1919
Object {
2020
"subMenu": Array [
2121
Object {
22-
"link": "/challenges",
22+
"href": "/challenges",
2323
"title": "All challenges",
2424
},
2525
Object {
@@ -94,7 +94,7 @@ exports[`Default render 1`] = `
9494
accountMenu={
9595
Array [
9696
Object {
97-
"link": "/settings/profile",
97+
"href": "/settings/profile",
9898
"title": "Settings",
9999
},
100100
Object {

config/default.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ module.exports = {
223223
subMenu: [
224224
{
225225
title: 'All challenges',
226-
link: '/challenges',
226+
href: '/challenges',
227227
},
228228
{
229229
title: 'Competitive programming',
@@ -296,7 +296,7 @@ module.exports = {
296296
ACCOUNT_MENU: [
297297
{
298298
title: 'Settings',
299-
link: '/settings/profile',
299+
href: '/settings/profile',
300300
},
301301
{
302302
title: 'Payments',

config/production.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ module.exports = {
6666
subMenu: [
6767
{
6868
title: 'All challenges',
69-
link: '/challenges',
69+
href: '/challenges',
7070
},
7171
{
7272
title: 'COMPETITIVE PROGRAMMING',
@@ -139,7 +139,7 @@ module.exports = {
139139
ACCOUNT_MENU: [
140140
{
141141
title: 'Settings',
142-
link: '/settings/profile',
142+
href: '/settings/profile',
143143
},
144144
{
145145
title: 'Payments',

0 commit comments

Comments
 (0)