Skip to content

Commit c4a6d55

Browse files
committed
fix lints
1 parent 0656950 commit c4a6d55

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/core/utils/copyToClipboard.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"use client";
1+
'use client';
22

33
type CopyToClipboardParams = {
44
text: string;
@@ -17,4 +17,4 @@ export async function copyToClipboard({
1717
} catch (err) {
1818
onError?.(err);
1919
}
20-
};
20+
}

src/ui/react/identity/components/Address.tsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
'use client';
2-
import { copyToClipboard } from '@/core/utils/copyToClipboard';
2+
33
import { useIdentityContext } from '@/core-react/identity/providers/IdentityProvider';
44
import type { AddressReact } from '@/core-react/identity/types';
55
import { getSlicedAddress } from '@/core/identity/utils/getSlicedAddress';
6+
import { copyToClipboard } from '@/core/utils/copyToClipboard';
67
import { useState } from 'react';
78
import { border, cn, color, pressable, text } from '../../../../styles/theme';
89

@@ -51,8 +52,8 @@ export function Address({
5152
console.error('Failed to copy address:', err);
5253
setCopyText('Failed to copy');
5354
setTimeout(() => setCopyText('Copy'), 2000);
54-
}
55-
})
55+
},
56+
});
5657
};
5758

5859
const handleKeyDown = (e: React.KeyboardEvent) => {

0 commit comments

Comments
 (0)