@@ -20,6 +20,6 @@ patches/
apps/api-reference
apps/staking
apps/insights
-apps/entropy-debug
+apps/entropy-debugger
governance/pyth_staking_sdk
packages/*
@@ -54,7 +54,6 @@ type CopyButtonProps = Omit<HTMLAttributes<HTMLElement>, "children"> & {
const CopyButton = ({ children, className, ...props }: CopyButtonProps) => {
const [isCopied, setIsCopied] = useState(false);
const copy = useCallback(() => {
- // eslint-disable-next-line n/no-unsupported-features/node-builtins
navigator.clipboard
.writeText(children)
.then(() => {
@@ -212,7 +212,6 @@ const Info = ({ state }: { state: TxStateContext }) => {
</pre>
<button
onClick={() => {
navigator.clipboard.writeText(state.data).catch(() => {
/* no-op on error */
});
@@ -27,7 +27,6 @@ export const CopyButton = ({ text, children, className, ...props }: Props) => {
const logger = useLogger();
.writeText(text)
@@ -29,9 +29,6 @@ const SearchText = () => {
};
const SearchTextImpl = () => {
- // This component can only ever render in the client so we can safely ignore
- // this eslint rule.
const isMac = useMemo(() => navigator.userAgent.includes("Mac"), []);
return isMac ? "⌘ K" : "Ctrl K";