mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
feat: port input modals to new system
This commit is contained in:
@@ -27,6 +27,11 @@ export function takeError(error: any): string {
|
||||
return "UnknownError";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
export function mapError(error: any): never {
|
||||
throw takeError(error);
|
||||
}
|
||||
|
||||
export function getChannelName(
|
||||
channel: Channel,
|
||||
prefixType?: boolean,
|
||||
|
||||
Reference in New Issue
Block a user