Skip to content

Commit

Permalink
lint??
Browse files Browse the repository at this point in the history
  • Loading branch information
yofukashino committed Nov 1, 2023
1 parent 88a6384 commit dda5b3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { MaskManager } from "./requiredModules";

export const refreshMaskLibrary = (): void => {
try {
if (MaskManager) {
PluginLogger.error("Missing “MaskLibrary” module, Please report this to the developer.");
if (!MaskManager) {
PluginLogger.error("Missing “MaskManager” module, Please report this to the developer.");
return;
}
const { MaskLibrary } = MaskManager;
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export interface MaskLibrary {
$$typeof: symbol;
compare: null | DefaultTypes.AnyFunction;
type: DefaultTypes.AnyFunction;
};
} & ComponentClass;
MaskIDs: {
AUTOCOMPLETE_EMOJI_UPSELL_EMOJI: string;
AVATAR_CALL_ICON: string;
Expand Down

0 comments on commit dda5b3a

Please sign in to comment.