mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 09:56:24 +00:00
chore(betterActivities): add type for icon
This commit is contained in:
parent
8602141fea
commit
d31d1b74e0
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ export default definePlugin({
|
|||
const activityIndex = activities.findIndex(({ name }) => name === activityName);
|
||||
if (activityIndex !== -1) {
|
||||
const activity = activities[activityIndex];
|
||||
const iconObject = {
|
||||
const iconObject: ActivityListIcon = {
|
||||
iconElement: <IconComponent />,
|
||||
tooltip: <ActivityTooltip activity={activity} user={user} />
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue