Warn: switch from Warning icon to SmileyXEyes X_X
This commit is contained in:
@@ -4,7 +4,7 @@ import { useRecoilValue } from "recoil";
|
|||||||
|
|
||||||
import { isDarkThemeSelector } from "../../state/selectors";
|
import { isDarkThemeSelector } from "../../state/selectors";
|
||||||
import { searchQueryAtom } from "../../state/atoms";
|
import { searchQueryAtom } from "../../state/atoms";
|
||||||
import { Warning } from "phosphor-react";
|
import { SmileyXEyes } from "phosphor-react";
|
||||||
|
|
||||||
interface WarnProps {
|
interface WarnProps {
|
||||||
message?: string;
|
message?: string;
|
||||||
@@ -22,7 +22,7 @@ const Warn: React.FC<WarnProps> = ({ message }) => {
|
|||||||
animate={{ opacity: 1 }}
|
animate={{ opacity: 1 }}
|
||||||
transition={{ duration: 0.5 }}
|
transition={{ duration: 0.5 }}
|
||||||
>
|
>
|
||||||
<Warning size={128} color="currentColor" weight="fill" />
|
<SmileyXEyes size={128} color="#615C68" weight="duotone" />
|
||||||
{message ?? (
|
{message ?? (
|
||||||
<p>
|
<p>
|
||||||
No results for '<code>{query}</code>'
|
No results for '<code>{query}</code>'
|
||||||
|
|||||||
Reference in New Issue
Block a user