feat: use faster senja
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { PLANS_BY_FEATURE } from './constants';
|
||||
|
||||
export function hasFeature(featureName: string, userPlan: string) {
|
||||
const features = PLANS_BY_FEATURE[userPlan];
|
||||
|
||||
return features.includes(featureName);
|
||||
}
|
||||
Reference in New Issue
Block a user