Fix linting on frontend TS
Add return type (void) to replaceIcons function
This commit is contained in:
parent
ef9cb663e7
commit
4a09d2e1fe
@ -2,7 +2,7 @@ import feather from "feather-icons";
|
|||||||
|
|
||||||
let alreadyReplaced = false;
|
let alreadyReplaced = false;
|
||||||
|
|
||||||
export function replaceIcons(once: boolean = true) {
|
export function replaceIcons(once: boolean = true): void {
|
||||||
if (!once || !alreadyReplaced) {
|
if (!once || !alreadyReplaced) {
|
||||||
alreadyReplaced = true;
|
alreadyReplaced = true;
|
||||||
feather.replace();
|
feather.replace();
|
||||||
|
Loading…
Reference in New Issue
Block a user