Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yofukashino committed Apr 26, 2024
1 parent 51dadf5 commit c22ec50
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib/requiredModules.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { webpack } from "replugged";
import Types from "../types";

export const Modules: Types.Modules = {}
export const Modules: Types.Modules = {};

Modules.loadModules = async (): Promise<void> =>{
Modules.Avatar ??= await webpack.waitForModule<Types.Avatar>(webpack.filters.bySource("getMaskId()"));
Modules.loadModules = async (): Promise<void> => {
Modules.Avatar ??= await webpack.waitForModule<Types.Avatar>(
webpack.filters.bySource("getMaskId()"),
);
Modules.MaskManager ??= await webpack.waitForProps<Types.MaskLibrary>("MaskLibrary");

}
};

export default Modules;

0 comments on commit c22ec50

Please sign in to comment.