From 43a9628ec40c1351dba7f18b8ee90bf49b425e0b Mon Sep 17 00:00:00 2001 From: Andrew Hughson Date: Sun, 6 Oct 2019 15:01:58 +0100 Subject: [PATCH] fix: incorrect Tooltip import in avatar component (#160) --- .../AvatarTooltip/AvatarTooltip.tsx | 2 +- .../__snapshots__/Developers.test.tsx.snap | 744 ++++++------------ 2 files changed, 241 insertions(+), 505 deletions(-) diff --git a/src/components/AvatarTooltip/AvatarTooltip.tsx b/src/components/AvatarTooltip/AvatarTooltip.tsx index bc02997..941772a 100644 --- a/src/components/AvatarTooltip/AvatarTooltip.tsx +++ b/src/components/AvatarTooltip/AvatarTooltip.tsx @@ -3,7 +3,7 @@ import React, { FC } from 'react'; import Avatar from '@material-ui/core/Avatar'; import { isEmail } from '../../utils/url'; -import Tooltip from '../../muiComponents/TextField'; +import Tooltip from '../../muiComponents/Tooltip'; export interface AvatarDeveloper { name: string; diff --git a/src/components/Developers/__snapshots__/Developers.test.tsx.snap b/src/components/Developers/__snapshots__/Developers.test.tsx.snap index 6548d26..eb9ea57 100644 --- a/src/components/Developers/__snapshots__/Developers.test.tsx.snap +++ b/src/components/Developers/__snapshots__/Developers.test.tsx.snap @@ -75,146 +75,80 @@ exports[`test Developers should render the component for contributors with items - - - - -
+
+ + + + - - - - -
- -
-
-
-
-
-
- - - - +
+ + } + className="MuiTooltip-popper" + id={null} + open={false} + placement="bottom" + transition={true} + /> + + @@ -233,146 +167,80 @@ exports[`test Developers should render the component for contributors with items - - - - -
+
+ + + + - - - - -
- -
-
-
-
-
-
- - - - +
+ + } + className="MuiTooltip-popper" + id={null} + open={false} + placement="bottom" + transition={true} + /> + + @@ -457,146 +325,80 @@ exports[`test Developers should render the component for maintainers with items - - - - -
+
+ + + + - - - - -
- -
-
-
-
-
-
- - - - +
+ + } + className="MuiTooltip-popper" + id={null} + open={false} + placement="bottom" + transition={true} + /> + + @@ -615,146 +417,80 @@ exports[`test Developers should render the component for maintainers with items - - - - -
+
+ + + + - - - - -
- -
-
-
-
-
-
- - - - +
+ + } + className="MuiTooltip-popper" + id={null} + open={false} + placement="bottom" + transition={true} + /> + +