Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 9c6453b

Browse files
change title
1 parent 93e8331 commit 9c6453b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/App.jsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ const App = () => {
5454

5555
useEffect(() => {
5656
store.dispatch(actions.lookup.checkIsLoggedIn());
57+
document.title = "Listings-EARN-Topcoder";
5758
}, []);
5859

5960
useEffect(() => {
6061
if (location.pathname === "/earn/find/challenges") {
61-
document.title = "Listings-EARN-Topcoder";
6262
if (!location.search) {
6363
store.dispatch(
6464
actions.challenges.getChallenges(initialChallengeFilter)
@@ -87,8 +87,6 @@ const App = () => {
8787

8888
useEffect(() => {
8989
if (location.pathname === "/earn/my-gigs" && isLoggedIn) {
90-
document.title =
91-
"Welcome to the Topcoder Platform. Get started by opening an app in the tool switcher on the top right corner";
9290
if (!location.search) {
9391
store.dispatch(actions.filter.updateGigFilter(initialGigFilter));
9492
const cachedGigs = store.getState().myGigs[initialGigFilter.status];

0 commit comments

Comments
 (0)