Migrate git api to ts

This commit is contained in:
2025-05-06 21:02:09 +02:00
parent 02c8100f0b
commit 1e350bb0cf
14 changed files with 61 additions and 41 deletions

View File

@@ -2,7 +2,7 @@ import React from 'react';
import { Text, Center } from '@mantine/core';
import Editor from './Editor';
import MarkdownPreview from './MarkdownPreview';
import { getFileUrl } from '../../api/notes';
import { getFileUrl } from '../../api/git';
import { isImageFile } from '../../utils/fileHelpers';
const ContentView = ({