Skip to content

Commit

Permalink
make data panel readonly
Browse files Browse the repository at this point in the history
Signed-off-by: Rudy Flores <[email protected]>
  • Loading branch information
rudyflores committed Oct 18, 2023
1 parent 778de00 commit 6d6d368
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import PersistentTableData from "./PersistentTableData";
import PersistentDataGridHeaders from "./PersistentDataGridHeaders";
import PersistentVSCodeAPI from "../PersistentVSCodeAPI";

export default function PersistentDataPanel({ type }: { type: Readonly<string> }): JSXInternal.Element {
export default function PersistentDataPanel({ type }: Readonly<{ type: Readonly<string> }>): JSXInternal.Element {
const [data, setData] = useState<{ [type: string]: { [property: string]: string[] } }>({ ds: {}, uss: {}, jobs: {} });
const [selection, setSelection] = useState<{ [type: string]: string }>({ [type]: "search" });
const [persistentProp, setPersistentProp] = useState<string[]>([]);
Expand Down

0 comments on commit 6d6d368

Please sign in to comment.