@@ -24,7 +24,7 @@ import {
|
||||
ListItemSecondaryAction,
|
||||
} from '@material-ui/core';
|
||||
import OpenInNewIcon from '@material-ui/icons/OpenInNew';
|
||||
import { useAsync } from 'react-use';
|
||||
import useAsync from 'react-use/lib/useAsync';
|
||||
import qs from 'qs';
|
||||
import React from 'react';
|
||||
import {
|
||||
|
||||
-1
@@ -17,7 +17,6 @@
|
||||
import { StackOverflowSearchResultListItem } from '../../plugin';
|
||||
import { wrapInTestApp } from '@backstage/test-utils';
|
||||
import React, { ComponentType } from 'react';
|
||||
import OpenInNewIcon from '@material-ui/icons/OpenInNew';
|
||||
|
||||
export default {
|
||||
title: 'Plugins/Search/StackOverflowResultListItem',
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ export const StackOverflowSearchResultListItem = (
|
||||
const { location, title, text, answers, tags } = props.result;
|
||||
|
||||
return (
|
||||
<Link to={location} target="_blank">
|
||||
<Link to={location}>
|
||||
<ListItem alignItems="center">
|
||||
{props.icon && <ListItemIcon>{props.icon}</ListItemIcon>}
|
||||
<Box flexWrap="wrap">
|
||||
|
||||
Reference in New Issue
Block a user