Use root tune path
This commit is contained in:
parent
b97765c4fb
commit
e2b66a78b9
|
@ -46,7 +46,7 @@ import {
|
|||
const { useBreakpoint } = Grid;
|
||||
const { Text, Title } = Typography;
|
||||
|
||||
const tunePath = (tuneId: string) => generatePath(Routes.TUNE_TUNE, { tuneId });
|
||||
const tunePath = (tuneId: string) => generatePath(Routes.TUNE_ROOT, { tuneId });
|
||||
|
||||
const Hub = () => {
|
||||
const { xs } = useBreakpoint();
|
||||
|
|
|
@ -106,7 +106,7 @@ const logIcon = () => <FundOutlined />;
|
|||
const toothLogIcon = () => <SettingOutlined />;
|
||||
const iniIcon = () => <FileTextOutlined />;
|
||||
|
||||
const tunePath = (tuneId: string) => generatePath(Routes.TUNE_TUNE, { tuneId });
|
||||
const tunePath = (tuneId: string) => generatePath(Routes.TUNE_ROOT, { tuneId });
|
||||
const tuneParser = new TuneParser();
|
||||
|
||||
const bufferToFile = (buffer: ArrayBuffer, name: string) => new File([buffer], name);
|
||||
|
@ -164,7 +164,7 @@ const UploadPage = () => {
|
|||
|
||||
const noop = () => { };
|
||||
|
||||
const goToNewTune = () => navigate(generatePath(Routes.TUNE_TUNE, {
|
||||
const goToNewTune = () => navigate(generatePath(Routes.TUNE_ROOT, {
|
||||
tuneId: newTuneId!,
|
||||
}));
|
||||
|
||||
|
|
Loading…
Reference in New Issue