idk bro, viewing works

This commit is contained in:
2026-06-29 21:39:37 -05:00
parent 843c34a287
commit 87ef8e3579
6 changed files with 206 additions and 13 deletions
+1 -8
View File
@@ -4,14 +4,7 @@ import { useEffect, useState, Suspense } from "react";
import { useSearchParams } from "next/navigation";
import { invoke } from "@tauri-apps/api/core";
import TextEditor from "@/components/text-editor";
import { HomelabApp } from "@/types";
// Create a type for the Blog returned by your Rust backend
interface Blog {
id: string;
title: string;
content: string;
}
import { HomelabApp, Blog } from "@/types";
function WritePageContent() {
const searchParams = useSearchParams();