working on fixing/reimplementing save command now that the mutations logic is more complete
This commit is contained in:
parent
6ed9c74862
commit
992bb77d2f
12 changed files with 239 additions and 58 deletions
|
@ -55,7 +55,7 @@ interface TreeContextType {
|
|||
const TreeContext = createContext<TreeContextType>();
|
||||
|
||||
export const Tree: Component<{ entries: Entry[], children: readonly [(folder: Accessor<FolderEntry>) => JSX.Element, (file: Accessor<FileEntry>) => JSX.Element], open?: TreeContextType['open'] }> = (props) => {
|
||||
const [selection, setSelection] = createSignal<object[]>([]);
|
||||
const [, setSelection] = createSignal<object[]>([]);
|
||||
|
||||
const context = {
|
||||
open: props.open ?? (() => { }),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue