Skip to content

Commit 4d41ab7

Browse files
committed
use ufsFile instead of file (UT depreciation)
1 parent efa2266 commit 4d41ab7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hooks/useProtocolImport.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export const useProtocolImport = () => {
130130
...validationResult.logicErrors,
131131
].map((validationError, i) => (
132132
<li className="flex capitalize" key={i}>
133-
<XCircle className="mr-2 h-4 w-4 text-destructive" />
133+
<XCircle className="text-destructive mr-2 h-4 w-4" />
134134
<span>
135135
{validationError.message}{' '}
136136
<span className="text-xs italic">
@@ -287,7 +287,7 @@ export const useProtocolImport = () => {
287287
assetId: asset.assetId,
288288
name: asset.name,
289289
type: asset.type,
290-
url: uploadedAsset.url,
290+
url: uploadedAsset.ufsUrl,
291291
size: uploadedAsset.size,
292292
};
293293
});

0 commit comments

Comments
 (0)