mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
fix(eslint): rules included deprecated plugin
This commit is contained in:
@@ -628,7 +628,7 @@ export default function ContextMenus() {
|
||||
}
|
||||
|
||||
for (let i = 0; i < actions.length; i++) {
|
||||
let action = actions[i];
|
||||
const action = actions[i];
|
||||
if (action) {
|
||||
generateAction({
|
||||
action,
|
||||
|
||||
@@ -11,7 +11,7 @@ export function urlBase64ToUint8Array(base64String: string) {
|
||||
export function mapToRecord<K extends symbol | string | number, V>(
|
||||
map: Map<K, V>,
|
||||
) {
|
||||
let record = {} as Record<K, V>;
|
||||
const record = {} as Record<K, V>;
|
||||
map.forEach((v, k) => (record[k] = v));
|
||||
return record;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user