Skip to content

Commit a272496

Browse files
ismoilovdevmlclaude
andcommitted
fix: resolve lint errors in UpdateModal component
- Removed unused copyToClipboard function - Fixed React unescaped entities (apostrophes) - All CI checks passing: lint, type check, build, docker build 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent ba3d68c commit a272496

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/UpdateModal.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ export default function UpdateModal({
2020
}: UpdateModalProps) {
2121
const { theme, card, textPrimary, textSecondary } = useTheme();
2222

23-
const copyToClipboard = (text: string) => {
24-
navigator.clipboard.writeText(text);
25-
};
26-
2723
const formatDate = (dateString: string) => {
2824
return new Date(dateString).toLocaleDateString('en-US', {
2925
month: 'long',
@@ -185,7 +181,7 @@ export default function UpdateModal({
185181
<p className={`text-sm ${
186182
theme === 'light' ? 'text-yellow-800' : 'text-yellow-300/90'
187183
}`}>
188-
It's recommended to backup your database before updating. All data will be preserved, but it's always safer to have a backup.
184+
It&apos;s recommended to backup your database before updating. All data will be preserved, but it&apos;s always safer to have a backup.
189185
</p>
190186
</div>
191187
</div>

0 commit comments

Comments
 (0)