Skip to content

Commit ed7f7a9

Browse files
committed
Fix some slipups
1 parent 8aa4093 commit ed7f7a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pages/edit/[[rkey]].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { user, waitForInitialSession } from '@/lib/atproto/signed-in-user';
66
import SignInGate from '@/components/SignInGate.vue';
77
import { language as mdxLang, conf as mdxLangConf } from '@/lib/monaco/mdx-lang';
88
import type { IoGithubAtwebFile } from '@atcute/client/lexicons';
9-
import { downloadFile, Page, type PageMeta } from '@/lib/atproto/atweb-unauthed';
9+
import { downloadFile, type Page, type PageMeta } from '@/lib/atproto/atweb-unauthed';
1010
import { filepathToRkey, rkeyToFilepath } from '@/lib/atproto/rkey';
1111
import * as monaco from 'monaco-editor';
1212
import type { AtUri } from '@atproto/syntax';

src/pages/page/[handle]/[rkey]/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ adoptedStyleSheet.replace(frameworkStyles);
6868
<img v-else-if="type == 'image'" :src="contents" />
6969
<pre v-else-if="type == 'pre'">{{ contents }}</pre>
7070
<a v-else-if="type == 'generic'" :href="contents">
71-
Unknown file type <code>{{ inject(pageKey)?.bodyOriginal.mimeType }}</code>.
71+
Unknown file type <code>{{ inject(pageKey)?.value?.bodyOriginal.mimeType }}</code>.
7272
Click to download blob.
7373
</a>
7474
</div>

0 commit comments

Comments
 (0)