mirror of https://github.com/astral-sh/ruff
fix; lint
This commit is contained in:
parent
c0a66ee5fe
commit
8c9cf99c99
|
|
@ -1,7 +1,11 @@
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import AstralButton from "./AstralButton";
|
import AstralButton from "./AstralButton";
|
||||||
|
|
||||||
export default function ShareButton({ onShare }: { onShare: () => Promise<void> }) {
|
export default function ShareButton({
|
||||||
|
onShare,
|
||||||
|
}: {
|
||||||
|
onShare: () => Promise<void>;
|
||||||
|
}) {
|
||||||
const [copied, setCopied] = useState(false);
|
const [copied, setCopied] = useState(false);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue