generated from JohnBra/vite-web-extension
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(content/index.tsx): Fix code running twice on page load
refactor(content/index.tsx): add support for multiple feature names in eventManager The FeatureName type is added, which restricts the possible values to a specific set of feature names. This improves type safety and prevents accidental usage of incorrect feature names. The eventManager now supports multiple feature names for each event listener, allowing for more flexibility in managing event listeners for different features.
- Loading branch information
1 parent
1e07ed1
commit bd3a314
Showing
1 changed file
with
75 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters