mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-24 11:03:17 -04:00
feat: remove random id from forum topic title (#46869)
feat/remove random id from forum topic title Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
This commit is contained in:
@@ -2,7 +2,6 @@ import dedent from 'dedent';
|
||||
import i18next from 'i18next';
|
||||
import { ofType } from 'redux-observable';
|
||||
import { tap, mapTo } from 'rxjs/operators';
|
||||
import { nanoid } from 'nanoid';
|
||||
import envData from '../../../../../config/env.json';
|
||||
import {
|
||||
closeModal,
|
||||
@@ -91,7 +90,7 @@ function createQuestionEpic(action$, state$, { window }) {
|
||||
const titleText = dedent(
|
||||
`${i18next.t(
|
||||
`intro:${superBlock}.blocks.${block}.title`
|
||||
)} - ${challengeTitle} - ${nanoid()}`
|
||||
)} - ${challengeTitle}`
|
||||
);
|
||||
|
||||
const category = window.encodeURIComponent(
|
||||
|
||||
Reference in New Issue
Block a user