Reformat with prettier

pull/100/head
Skyler Grey 3 years ago
parent ab7128ef3f
commit f96a3378e6
Signed by: Minion3665
GPG Key ID: 1AFD10256B3C714D

@ -21,4 +21,5 @@ ClicksMigratingProblems/oldData/
ClicksMigratingProblems/oldData copy/
.direnv/
.devenv/
src/reflex/nsfwjs/**/*

@ -1,3 +1,3 @@
builds:
exclude:
- devShells.x86_64-linux.default
exclude:
- devShells.x86_64-linux.default

File diff suppressed because it is too large Load Diff

@ -41,7 +41,7 @@ type channelChanges = {
maxUsers?: ReturnType<typeof entry>;
autoArchiveDuration?: ReturnType<typeof entry>;
[key: string]: unknown;
}
};
export const event = "channelUpdate";

@ -470,7 +470,8 @@ export class Transcript {
if (child.type === ComponentType.Button) {
obj.style = child.style;
obj.label = child.label ?? "";
} else if (child.type > 2) { // FIXME: Can we write this more clearly to make it obvious what we mean by 2 here?
} else if (child.type > 2) {
// FIXME: Can we write this more clearly to make it obvious what we mean by 2 here?
obj.placeholder = child.placeholder ?? "";
}
return obj;

@ -18,7 +18,7 @@ function getEmojiPaths(obj: EmojisIndex, path: string[] = []) {
}
getEmojiPaths(emojis);
function getEmojiByName(name: typeof EMOJIPATHS[number], format?: string): string {
function getEmojiByName(name: (typeof EMOJIPATHS)[number], format?: string): string {
const parts = name.split(".");
let id: string | EmojisIndex | EmojisIndex[] | undefined = emojis;
for (const part of parts) {

Loading…
Cancel
Save