Skip to content

Commit 14faa55

Browse files
committed
fix ts build errors
1 parent b802e62 commit 14faa55

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ function Switcher(){
2929
export default function App() {
3030
const [opened, { toggle, close }] = useDisclosure();
3131
const isMobile = useMediaQuery(`(max-width: ${em(750)})`);
32-
const { session, version } = useContext(AppContext);
32+
const { session } = useContext(AppContext);
3333
return ( !session ? <Login/> :
3434
<AppShell
3535
header={{ height: 64, collapsed: !isMobile }}
3636
navbar={{ width: 300, breakpoint: 'sm', collapsed: { mobile: !opened } }}
3737
padding="md"
3838
>
39-
<AppShell.Header><Header opened={opened} toggle={toggle} version={version} /></AppShell.Header>
39+
<AppShell.Header><Header opened={opened} toggle={toggle} /></AppShell.Header>
4040
<AppShell.Navbar><Navbar closeNav={close} /></AppShell.Navbar>
4141
<AppShell.Main><Switcher/></AppShell.Main>
4242
</AppShell>

server/src/components/operations/FileWriteTxt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default async function ({ action, template, execute, data, connections }:
3838
if (!connections[action.target]) {
3939
const client = await openStream(data.target);
4040
connections[action.target] = {
41-
rows: [], keyed: {}, client, close: async () => {
41+
rows: [], keyed: {}, objects: {}, client, close: async () => {
4242
await closeStream(client);
4343
delete connections[action.target];
4444
return true;

0 commit comments

Comments
 (0)