mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
Merge pull request #3679 from urbit/mp/groups/destroy-all-remnants
groups: remove remnant groups from recent
This commit is contained in:
commit
e2b1134e58
@ -43,7 +43,9 @@ function RecentGroups(props: { recent: string[]; associations: Associations }) {
|
||||
<Box fontSize={0} px={1} py={2} color="gray">
|
||||
Recent Groups
|
||||
</Box>
|
||||
{props.recent.slice(1, 5).map((g) => {
|
||||
{props.recent.filter((e) => {
|
||||
return (e in associations?.contacts);
|
||||
}).slice(1, 5).map((g) => {
|
||||
const assoc = associations.contacts[g];
|
||||
const color = uxToHex(assoc?.metadata?.color || "0x0");
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user