Skip to content

Commit

Permalink
cleanup common scenes
Browse files Browse the repository at this point in the history
  • Loading branch information
YeonV committed Jan 31, 2024
1 parent 7df15f3 commit b17b866
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Dialogs/HostManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ export default function HostManager() {
const sceneKeys = allScenes.map((scenes) => Object.keys(scenes));

// Find the common keys
const commonKeys = sceneKeys.reduce((a, b) => a.filter(c => b.includes(c)));

const commonKeys = sceneKeys.reduce((a, b) => a.filter(c => b.includes(c) && c !== 'blade-scene'));
// Prepare an empty object for the final scenes
const finalScenes: Record<string, any> = {};

Expand Down

0 comments on commit b17b866

Please sign in to comment.