Skip to content

Commit

Permalink
Merge pull request #55 from topcoder-platform/develop
Browse files Browse the repository at this point in the history
fix for compete button and retUrl
  • Loading branch information
ajefts authored Jun 6, 2017
2 parents 8e41526 + 2fcc7ae commit a61b41c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`Snapshot match 1`] = `
link={
Object {
"title": "Compete Now",
"url": ".",
"url": "challenges",
}
}
mapThemrProps={[Function]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function AccessDenied({ cause }) {
const origin = window ? window.location.origin : '';
switch (cause) {
case CAUSE.NOT_AUTHENTICATED: {
const returnUrl = encodeURIComponent(`${origin}/community/wipro/home`);
const returnUrl = encodeURIComponent(`${origin}/`);
return (
<div styleName="access-denied">
<TopcoderLogo />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function Home() {
text="Wipro's Hybrid Crowd gives our vast ecosystem of customers and partners options to access new range of skills that provide new value services and efficiency options all over the world."
link={{
title: 'Compete Now',
url: '.',
url: 'challenges',
}}
imageSrc="/themes/wipro/home/banner.jpg"
/>
Expand Down

0 comments on commit a61b41c

Please sign in to comment.