Files
Folo/apps
Innei 1d65d8895a refactor(feature): enhance feature management with improved type safety and utility functions
- Introduced a new `checkFeatureEnabled` function to centralize feature checking logic, reducing code duplication.
- Added `getFeature` function for non-hook feature checks.
- Updated `useFeature` hook to utilize the new utility for better clarity and maintainability.
- Enhanced type definitions for debug feature values and feature keys.

These changes improve the structure and readability of feature management within the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-14 14:31:24 +08:00
..