Change Hub navigation
This commit is contained in:
parent
3e785c2e11
commit
333a2c8eac
|
@ -56,7 +56,7 @@ const Hub = () => {
|
||||||
const [copied, setCopied] = useState(false);
|
const [copied, setCopied] = useState(false);
|
||||||
const [isLoading, setIsLoading] = useState(true);
|
const [isLoading, setIsLoading] = useState(true);
|
||||||
|
|
||||||
const goToTune = (tuneId: string) => navigate(generatePath(Routes.TUNE_ROOT, { tuneId }));
|
const goToTune = (tuneId: string) => navigate(generatePath(Routes.TUNE_TUNE, { tuneId }));
|
||||||
|
|
||||||
const copyToClipboard = async (shareUrl: string) => {
|
const copyToClipboard = async (shareUrl: string) => {
|
||||||
if (navigator.clipboard) {
|
if (navigator.clipboard) {
|
||||||
|
|
Loading…
Reference in New Issue