Skip to content

Commit e2fd365

Browse files
committed
remove unused pheromones
1 parent 7aef0d2 commit e2fd365

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/templates/Layout.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ class Layout extends React.Component {
7171
componentDidMount() {
7272
const user = store.get("tmc.user")
7373
if (typeof window !== "undefined" && user) {
74-
if (canDoResearch()) {
75-
setTimeout(() => {
76-
this.removePheromones = Pheromones.init({
77-
apiUrl: "https://pheromones.mooc.fi/",
78-
username: user.username,
79-
submitAfter: 20,
80-
})
81-
}, 1000)
82-
}
74+
// if (canDoResearch()) {
75+
// setTimeout(() => {
76+
// this.removePheromones = Pheromones.init({
77+
// apiUrl: "https://pheromones.mooc.fi/",
78+
// username: user.username,
79+
// submitAfter: 20,
80+
// })
81+
// }, 1000)
82+
// }
8383
}
8484
}
8585

0 commit comments

Comments
 (0)