MCPcopy Create free account
hub / github.com/dailydotdev/apps / onSelect

Function onSelect

packages/shared/src/components/plus/GiftPlusModal.tsx:120–124  ·  view source on GitHub ↗
(user: UserShortProfile)

Source from the content-addressed store, hash-verified

118 };
119
120 const onSelect = (user: UserShortProfile) => {
121 setSelected(user);
122 setIndex(0);
123 setQuery('');
124 };
125
126 const isTablet = useViewSize(ViewSize.Tablet);
127

Callers 13

PlusProductToggleFunction · 0.70
SelectSettingRowFunction · 0.50
DeviceSplitButtonFunction · 0.50
YearSelectFunction · 0.50
MonthSelectFunction · 0.50
RecommendedEmojiTooltipFunction · 0.50
SpotlightRowFunction · 0.50
ScopeBreadcrumbsFunction · 0.50
handleSelectFunction · 0.50
SelectFunction · 0.50
NotificationFilterBarFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected