Respond to PR comments

- Add helper function to improve types with MessageChannelListeners

- Remove some debug printing

- Improve some typing about application update status

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-07-06 11:42:46 -04:00
1 parent 299bc475a2
commit 2012602e6e
12 files changed
+66 -86

No files matched your search

-1
View File
@@ -72,7 +72,6 @@ export class TerminalApi extends WebSocketApi<TerminalEvents> {
tabId: this.query.id,
});
console.log("authTokenArray", authTokenArray);
const { hostname, protocol, port } = location;
const socketUrl = url.format({
protocol: protocol.includes("https") ? "wss" : "ws",
@@ -20,11 +20,6 @@ const provideInitialValuesForSyncBoxesInjectable = getInjectable({
run: async () => {
const initialValues = await requestFromChannel(syncBoxInitialValueChannel);
console.log({
initialValues,
type: typeof initialValues,
});
initialValues.forEach(({ id, value }) => {
setSyncBoxState(id, value);
});