Skip to content

Commit 894f2ec

Browse files
committed
Replaced the check icon with a thumbs up icon.
1 parent 0e25cde commit 894f2ec

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/components/Button.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import React, { useEffect, useRef, useState } from "react";
22

33
import classnames from "classnames";
4-
import { Check, Error } from "neetoicons";
4+
import { Error } from "neetoicons";
55
import PropTypes from "prop-types";
66
import { Link } from "react-router-dom";
77

88
import Spinner from "./Spinner";
99
import Tooltip from "./Tooltip";
1010

11+
const ThumbsUp = () => <span>👍</span>;
12+
1113
const BUTTON_STYLES = {
1214
primary: "primary",
1315
secondary: "secondary",
@@ -90,7 +92,7 @@ const Button = React.forwardRef(
9092
}, [didStartAction, loading]);
9193

9294
let FeedbackIcon = null;
93-
if (status === STATUS.SUCCESS) FeedbackIcon = Check;
95+
if (status === STATUS.SUCCESS) FeedbackIcon = ThumbsUp;
9496

9597
if (status === STATUS.ERROR) FeedbackIcon = Error;
9698

0 commit comments

Comments
 (0)