fix: import from clipboard no longer worked (#111)

This commit is contained in:
Patric Stout
2024-05-11 18:16:40 +02:00
committed by GitHub
parent a772a8272a
commit 1888f8fced

View File

@@ -32,8 +32,6 @@ export const ClipboardButton = () => {
const importFromClipboard = React.useCallback(() => {
setError(undefined);
if (!shipSnapshot.loaded) return;
const textArea = textAreaRef.current;
if (textArea === null) return;