Skip to content

Commit 97baa86

Browse files
committed
feat: change canny url
1 parent 0be2d81 commit 97baa86

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

packages/renderer/src/components/HomePage/component.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import InfluencePng from '/assets/images/influence.png';
2626
import { useAuth } from '/@/hooks/useAuth';
2727
import { useWorkspace } from '/@/hooks/useWorkspace';
2828
import { t } from '/@/modules/store/translation/utils';
29+
import { getCannyURL } from '/@/modules/utils';
2930

3031
import { Navbar, NavbarItem } from '../Navbar';
3132

@@ -229,7 +230,7 @@ const LearnCard: React.FC = React.memo(() => {
229230

230231
const FeedbackCard: React.FC = React.memo(() => {
231232
const handleClickFeedback = useCallback(
232-
() => misc.openExternal('https://decentraland.canny.io'),
233+
() => misc.openExternal(getCannyURL()),
233234
[],
234235
);
235236

packages/renderer/src/components/Modals/PublishProject/steps/Deploy/component.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { useIsMounted } from '/@/hooks/useIsMounted';
1616
import { t } from '/@/modules/store/translation/utils';
1717
import { Loader } from '/@/components/Loader';
1818
import { addBase64ImagePrefix } from '/@/modules/image';
19+
import { getCannyURL } from '/@/modules/utils';
1920

2021
import { PublishModal, onBackNoop } from '../../PublishModal';
2122
import { ConnectedSteps } from '../../../../Step';
@@ -419,7 +420,7 @@ function Deploying({ info, url, onSuccess, onClick, onRetry }: DeployingProps) {
419420
}, [wallet, info]);
420421

421422
const onReportIssue = useCallback(() => {
422-
void misc.openExternal('https://decentraland.canny.io');
423+
void misc.openExternal(getCannyURL());
423424
}, []);
424425

425426
useEffect(

packages/renderer/src/components/Navbar/component.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import QuestionMarkIcon from '@mui/icons-material/QuestionMark';
66
import SettingsIcon from '@mui/icons-material/Settings';
77
import { misc } from '#preload';
88
import logo from '/assets/images/logo-editor.png';
9+
import { getCannyURL } from '/@/modules/utils';
910
import { t } from '/@/modules/store/translation/utils';
1011
import { Header } from '../Header';
1112

@@ -36,7 +37,7 @@ export function Navbar(props: { active: NavbarItem }) {
3637
const [openAppSettings, setOpenAppSettings] = useState(false);
3738

3839
const handleClickReportIssue = useCallback(
39-
() => misc.openExternal('https://decentraland.canny.io'),
40+
() => misc.openExternal(getCannyURL()),
4041
[],
4142
);
4243

0 commit comments

Comments
 (0)