Skip to content

feat: select group avatars with the emoji picker #11395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🧹
  • Loading branch information
aslilac committed Jan 3, 2024
commit eb3bc9350009fb4313aead423bd6529dce83f3a5
5 changes: 1 addition & 4 deletions site/src/pages/GroupsPage/CreateGroupPageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export const CreateGroupPageView: FC<CreateGroupPageViewProps> = ({
const getFieldHelpers = getFormHelpers<CreateGroupRequest>(form, formErrors);
const onCancel = () => navigate("/groups");

console.log("i'll just cry then");
return (
<Margins>
<FullPageForm title="Create group">
Expand All @@ -65,9 +64,7 @@ export const CreateGroupPageView: FC<CreateGroupPageViewProps> = ({
onChange={onChangeTrimmed(form)}
fullWidth
label="Avatar URL"
onPickEmoji={(value) => (
console.log(value), form.setFieldValue("avatar_url", value)
)}
onPickEmoji={(value) => form.setFieldValue("avatar_url", value)}
/>
</Stack>
<FormFooter onCancel={onCancel} isLoading={isLoading} />
Expand Down