Skip to content

Commit

Permalink
Merge pull request #684 from NoodleOfDeath/dev
Browse files Browse the repository at this point in the history
fix(RL-97): build issues ~web
  • Loading branch information
NoodleOfDeath authored Oct 2, 2023
2 parents 12a9018 + 9c64a36 commit 916942f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/src/utils/usePlatformTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function usePlatformTools() {
};
};

const emitEvent = <E extends SessionEvent>(event: E, mutation: PreferenceMutation<E>, state: PreferenceState<E>) => {
const emitEvent = <E extends SessionEvent>(event: E, mutation?: PreferenceMutation<E>, state?: PreferenceState<E>) => {
new EventEmitter().emit(event, mutation, state);
};

Expand Down

0 comments on commit 916942f

Please sign in to comment.