mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-09-20 02:29:28 +00:00
Fix vite
This commit is contained in:
parent
1174b6a4da
commit
0e1da982b6
@ -33,7 +33,6 @@ import { RotateAPIBridge } from './RotateAPIBridge';
|
|||||||
interface LocalEmbedPDFProps {
|
interface LocalEmbedPDFProps {
|
||||||
file?: File | Blob;
|
file?: File | Blob;
|
||||||
url?: string | null;
|
url?: string | null;
|
||||||
colorScheme?: 'light' | 'dark' | 'auto'; // Optional since we use CSS variables
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function LocalEmbedPDF({ file, url }: LocalEmbedPDFProps) {
|
export function LocalEmbedPDF({ file, url }: LocalEmbedPDFProps) {
|
||||||
|
@ -5,7 +5,6 @@ import { useViewer } from '../../contexts/ViewerContext';
|
|||||||
interface ThumbnailSidebarProps {
|
interface ThumbnailSidebarProps {
|
||||||
visible: boolean;
|
visible: boolean;
|
||||||
onToggle: () => void;
|
onToggle: () => void;
|
||||||
colorScheme?: 'light' | 'dark' | 'auto'; // Optional since we use CSS variables
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function ThumbnailSidebar({ visible, onToggle: _onToggle }: ThumbnailSidebarProps) {
|
export function ThumbnailSidebar({ visible, onToggle: _onToggle }: ThumbnailSidebarProps) {
|
||||||
|
@ -12,5 +12,5 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
base: "http://localhost:8080",
|
base: "./",
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user