Remove useless file

This commit is contained in:
Bill 2021-12-09 00:39:12 -05:00
parent 24356ff742
commit 14a219132c

View File

@ -1,15 +0,0 @@
import { AchievementData } from '@nitrots/nitro-renderer';
import { GetConfiguration } from '../../../api';
export const IsIgnoredAchievement = (achievement: AchievementData) =>
{
if(!achievement) return false;
const ignored = GetConfiguration<string[]>('achievements.unseen.ignored');
const value = achievement.badgeId.replace(/[0-9]/g, '');
const index = ignored.indexOf(value);
if(index >= 0) return true;
return false;
}