Signed-off-by: Emma Indal <emma.indahl@gmail.com>
This commit is contained in:
Emma Indal
2022-03-04 12:08:10 +01:00
parent f80f3a7bc9
commit 90965cb56a
3 changed files with 2 additions and 3 deletions
@@ -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 {
@@ -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',
@@ -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">