mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Fix workdir property name and remove unused imports
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
import { browser } from '$app/environment';
|
||||
import { page } from '$app/state';
|
||||
import { SvelteURL } from 'svelte/reactivity';
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
type WebSocketEvent = 'connect' | 'disconnect' | 'reconnect';
|
||||
type SynapseMessageType = 'terminal' | 'fs' | 'synapse';
|
||||
type SynapseMessageOperations = {
|
||||
operation: 'updateWorkDir';
|
||||
params: { workdir: string };
|
||||
params: { workDir: string };
|
||||
};
|
||||
type SynapseMessageOperationFileSystem =
|
||||
| {
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
.dispatch('synapse', {
|
||||
operation: 'updateWorkDir',
|
||||
params: {
|
||||
workdir: `/artifact/${page.params.artifact}`
|
||||
workDir: `/artifact/${page.params.artifact}`
|
||||
}
|
||||
})
|
||||
.then(() => {
|
||||
|
||||
Reference in New Issue
Block a user