Merge branch 'actions' into fork

This commit is contained in:
marcin mikołajczak 2024-07-25 22:05:55 +02:00
commit f9f6e79a3a
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ const PinnedHostsPicker: React.FC<IPinnedHostsPicker> = ({ host: activeHost }) =
if (!pinnedHosts.length) return null;
return (
<HStack className='mb-4' space={2}>
<HStack className='mb-4 black:mx-2' space={2}>
{pinnedHosts.map((host) => (
<Button
key={host}

View file

@ -19,7 +19,7 @@ const filteredArray = <T extends z.ZodTypeAny>(schema: T) =>
));
/** Validates the string as an emoji. */
const emojiSchema = z.string().refine((v) => /\p{Extended_Pictographic}/u.test(v));
const emojiSchema = z.string().refine((v) => /\p{Extended_Pictographic}|[\u{1F1E6}-\u{1F1FF}]{2}/u.test(v));
/** Map a list of CustomEmoji to their shortcodes. */
const makeCustomEmojiMap = (customEmojis: CustomEmoji[]) =>