fix(dashboard): remove unused onBack prop from Sidebar
This commit is contained in:
@@ -13,7 +13,7 @@ export function App() {
|
||||
|
||||
return (
|
||||
<div className="flex h-screen">
|
||||
<Sidebar view={view} onViewChange={setView} onBack={() => setSelectedThread(null)} />
|
||||
<Sidebar view={view} onViewChange={setView} />
|
||||
<main className="flex-1 overflow-hidden flex flex-col">
|
||||
<StatusBar />
|
||||
<div className="flex-1 overflow-auto p-6">
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
type Props = {
|
||||
view: "threads" | "workflows";
|
||||
onViewChange: (v: "threads" | "workflows") => void;
|
||||
onBack: () => void;
|
||||
};
|
||||
|
||||
export function Sidebar({ view, onViewChange }: Props) {
|
||||
|
||||
Reference in New Issue
Block a user