Skip to content

Commit

Permalink
remove cross dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekg999 committed Aug 25, 2024
1 parent f3635c6 commit 9c18516
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useState } from 'react';
import { Copy, Link, AlertCircle } from 'lucide-react';
import { type RequestSecretSchema } from '../secret-worker/src/db/schema'

const OneTimeSecret = () => {
const [secret, setSecret] = useState('');
Expand All @@ -23,7 +22,7 @@ const OneTimeSecret = () => {
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ data: data.trim() } as RequestSecretSchema),
body: JSON.stringify({ data: data.trim() }),
});

if (response.ok) {
Expand Down

0 comments on commit 9c18516

Please sign in to comment.