diff --git a/src/App.tsx b/src/App.tsx index 6b74e3b..c20073f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -117,8 +117,8 @@ const RecordView: Component = () => { try { const res = await getRecord(params.repo, params.collection, params.rkey); setNotice("Validating..."); - await authenticate_post(res.data.uri, res.data.cid!, res.data.value); setRecord(res.data); + await authenticate_post(res.data.uri, res.data.cid!, res.data.value); setNotice(""); } catch (err: any) { if (err.message) setNotice(err.message);