mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-30 01:30:21 +02:00
Fix persona client side error
This commit is contained in:
parent
920d059da5
commit
b8f767adf2
@ -79,7 +79,11 @@ export function PersonasTable({ personas }: { personas: Persona[] }) {
|
||||
{!persona.default_persona && (
|
||||
<FiEdit
|
||||
className="mr-1 my-auto cursor-pointer"
|
||||
onClick={() => router.push(`/admin/personas/${persona.id}`)}
|
||||
onClick={() =>
|
||||
router.push(
|
||||
`/admin/personas/${persona.id}?u=${Date.now()}`
|
||||
)
|
||||
}
|
||||
/>
|
||||
)}
|
||||
<p className="text font-medium whitespace-normal break-none">
|
||||
|
@ -6,7 +6,6 @@ import { DocumentSet } from "@/lib/types";
|
||||
import { BackButton } from "@/components/BackButton";
|
||||
import { Card, Title } from "@tremor/react";
|
||||
import { DeletePersonaButton } from "./DeletePersonaButton";
|
||||
import { InstantSSRAutoRefresh } from "@/components/SSRAutoRefresh";
|
||||
|
||||
export default async function Page({
|
||||
params,
|
||||
@ -68,8 +67,6 @@ export default async function Page({
|
||||
|
||||
return (
|
||||
<div>
|
||||
<InstantSSRAutoRefresh />
|
||||
|
||||
<BackButton />
|
||||
<div className="pb-2 mb-4 flex">
|
||||
<h1 className="text-3xl font-bold pl-2">Edit Persona</h1>
|
||||
|
Loading…
x
Reference in New Issue
Block a user