mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 08:14:47 -07:00
parent
0994d10410
commit
c4bf9eb61c
61 changed files with 207 additions and 737 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { SessionPersistence } from '../../persistence';
|
||||
import { RemoveFromListData } from './interfaces';
|
||||
|
||||
export function removeFromList({ listName, userName }: RemoveFromListData) {
|
||||
export function removeFromList({ listName, userName }: RemoveFromListData): void {
|
||||
switch (listName) {
|
||||
case 'buddy': {
|
||||
SessionPersistence.removeFromBuddyList(userName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue