Skip to content

Commit e973932

Browse files
committed
clean up
1 parent 51128c2 commit e973932

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

src/hooks/useDeck.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,10 @@ export const useDeck = (
132132
// draw keys once to get updated
133133

134134
physicalDeck?.drawKeys((key) => {
135-
// console.log(
136-
// "plugins.manifests[profiles.profile.keys[key]?.plugin]",
137-
// plugins.manifests[profiles.profile.keys[key]?.plugin]
138-
// );
139135
if (
140-
plugins.manifests[profiles.profile.keys[key]?.plugin]?.bespoke ===
136+
plugins.manifests[profiles.profile.keys[key]?.plugin]?.bespoke !==
141137
true
142138
) {
143-
// bespoke item
144-
console.log("bespoke");
145-
} else {
146139
const context = getContext(
147140
key,
148141
physicalDeck,
@@ -203,8 +196,6 @@ export const useDeck = (
203196
}
204197
});
205198

206-
console.log({ nextInited });
207-
208199
setInited(nextInited);
209200
}
210201
}, [plugins.initalised, profiles.profile.keys]);

src/hooks/usePlugins.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export const usePlugins = () => {
5858

5959
// initalise plugins
6060
useEffect(() => {
61-
console.log("non changed right?");
6261
setInitalised(false);
6362
// module federation config
6463
const config = {

0 commit comments

Comments
 (0)