mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
1 parent
299bc475a2
commit
2012602e6e
12 files changed
+66
-86
No files matched your search
@@ -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);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user