mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
parent
e84aab0bd8
commit
364c30b6bb
@ -25,7 +25,7 @@ interface GroupPermalink {
|
||||
group: string;
|
||||
link: string;
|
||||
}
|
||||
interface GraphPermalink {
|
||||
export interface GraphPermalink {
|
||||
type: 'graph';
|
||||
link: string;
|
||||
graph: string;
|
||||
|
@ -2,7 +2,7 @@ import React, { useCallback, useEffect, useState } from "react";
|
||||
import { useHistory, useLocation, Link } from 'react-router-dom';
|
||||
import { Association, GraphNode, resourceFromPath } from '@urbit/api';
|
||||
import GlobalApi from '~/logic/api/global';
|
||||
import {
|
||||
import {
|
||||
getPermalinkForGraph, GraphPermalink as IGraphPermalink, parsePermalink
|
||||
} from '~/logic/lib/permalinks';
|
||||
import {
|
||||
@ -115,7 +115,7 @@ function GraphPermalink(
|
||||
borderRadius="2"
|
||||
cursor='pointer'
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
navigate(e);
|
||||
}}
|
||||
>
|
||||
{showTransclusion && index && (
|
||||
|
Loading…
Reference in New Issue
Block a user