Fixed format errors (#903)
This commit is contained in:
commit
57cba4233a
3 changed files with 35 additions and 34 deletions
|
|
@ -1,7 +1,9 @@
|
||||||
import { forwardRef } from "react";
|
import { forwardRef } from "react";
|
||||||
|
|
||||||
export const GradientSparkles = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
|
export const GradientSparkles = forwardRef<
|
||||||
(props, ref) => {
|
SVGSVGElement,
|
||||||
|
React.PropsWithChildren<{}>
|
||||||
|
>((props, ref) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<svg width="0" height="0" style={{ position: "absolute" }}>
|
<svg width="0" height="0" style={{ position: "absolute" }}>
|
||||||
|
|
@ -27,12 +29,11 @@ export const GradientSparkles = forwardRef<SVGSVGElement, React.PropsWithChildre
|
||||||
stroke-linecap="round"
|
stroke-linecap="round"
|
||||||
stroke-linejoin="round"
|
stroke-linejoin="round"
|
||||||
stroke="url(#grad1)"
|
stroke="url(#grad1)"
|
||||||
ref={ref} {...props}
|
ref={ref}
|
||||||
|
{...props}
|
||||||
>
|
>
|
||||||
<path d="M12 12c-2-2.67-4-4-6-4a4 4 0 1 0 0 8c2 0 4-1.33 6-4Zm0 0c2 2.67 4 4 6 4a4 4 0 0 0 0-8c-2 0-4 1.33-6 4Z" />
|
<path d="M12 12c-2-2.67-4-4-6-4a4 4 0 1 0 0 8c2 0 4-1.33 6-4Zm0 0c2 2.67 4 4 6 4a4 4 0 0 0 0-8c-2 0-4 1.33-6 4Z" />
|
||||||
</svg>
|
</svg>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
});
|
||||||
);
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -190,7 +190,7 @@ export default function AdminPage() {
|
||||||
setSuccessData({
|
setSuccessData({
|
||||||
title: "Success! New user added!",
|
title: "Success! New user added!",
|
||||||
});
|
});
|
||||||
})
|
});
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
setErrorData({
|
setErrorData({
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ import { EvernoteIcon } from "../icons/Evernote";
|
||||||
import { FBIcon } from "../icons/FacebookMessenger";
|
import { FBIcon } from "../icons/FacebookMessenger";
|
||||||
import { GitBookIcon } from "../icons/GitBook";
|
import { GitBookIcon } from "../icons/GitBook";
|
||||||
import { GoogleIcon } from "../icons/Google";
|
import { GoogleIcon } from "../icons/Google";
|
||||||
import {GradientSparkles} from "../icons/GradientSparkles";
|
import { GradientSparkles } from "../icons/GradientSparkles";
|
||||||
import { HuggingFaceIcon } from "../icons/HuggingFace";
|
import { HuggingFaceIcon } from "../icons/HuggingFace";
|
||||||
import { IFixIcon } from "../icons/IFixIt";
|
import { IFixIcon } from "../icons/IFixIt";
|
||||||
import { MetaIcon } from "../icons/Meta";
|
import { MetaIcon } from "../icons/Meta";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue