mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-14 15:04:14 +03:00
meta: cause rebuild with console.log removals
This commit is contained in:
parent
307a361275
commit
1c77adafc6
@ -30,7 +30,6 @@ export const LinkItem = React.forwardRef((props: LinkItemProps, ref: RefObject<H
|
|||||||
resource,
|
resource,
|
||||||
api,
|
api,
|
||||||
group,
|
group,
|
||||||
path,
|
|
||||||
...rest
|
...rest
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
@ -49,7 +48,6 @@ export const LinkItem = React.forwardRef((props: LinkItemProps, ref: RefObject<H
|
|||||||
function onBlur() {
|
function onBlur() {
|
||||||
// FF will only update on next tick
|
// FF will only update on next tick
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
console.log(remoteRef.current);
|
|
||||||
if(document.activeElement instanceof HTMLIFrameElement
|
if(document.activeElement instanceof HTMLIFrameElement
|
||||||
// @ts-ignore forwardref prop passing
|
// @ts-ignore forwardref prop passing
|
||||||
&& remoteRef?.current?.containerRef?.contains(document.activeElement)) {
|
&& remoteRef?.current?.containerRef?.contains(document.activeElement)) {
|
||||||
|
@ -50,7 +50,6 @@ function FallbackRoutes(props: { query: URLSearchParams }) {
|
|||||||
if (query.has('ext')) {
|
if (query.has('ext')) {
|
||||||
const ext = query.get('ext')!;
|
const ext = query.get('ext')!;
|
||||||
const url = `/perma${ext.slice(16)}`;
|
const url = `/perma${ext.slice(16)}`;
|
||||||
console.log(url);
|
|
||||||
return <Redirect to={{ pathname: url }} />;
|
return <Redirect to={{ pathname: url }} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,7 +73,6 @@ function getLinkPermalink(
|
|||||||
const res = _.reduce(
|
const res = _.reduce(
|
||||||
idx,
|
idx,
|
||||||
(acc, val, i) => {
|
(acc, val, i) => {
|
||||||
console.log(acc);
|
|
||||||
if (i === 0) {
|
if (i === 0) {
|
||||||
return { ...acc, pathname: `${acc.pathname}/index/${val}` };
|
return { ...acc, pathname: `${acc.pathname}/index/${val}` };
|
||||||
} else if (i === 1) {
|
} else if (i === 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user