Skip to content

Commit

Permalink
feat: do not use uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevo David committed Sep 11, 2024
1 parent 86c017e commit 8e2b96c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/frontend/src/components/launches/add.edit.model.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import { useExpend } from '@gitroom/frontend/components/launches/helpers/use.exp
import { TopTitle } from '@gitroom/frontend/components/launches/helpers/top.title.component';
import { PickPlatforms } from '@gitroom/frontend/components/launches/helpers/pick.platform.component';
import { ProvidersOptions } from '@gitroom/frontend/components/launches/providers.options';
import { v4 as uuidv4 } from 'uuid';
import useSWR from 'swr';
import { useToaster } from '@gitroom/react/toaster/toaster';
import { UpDownArrow } from '@gitroom/frontend/components/launches/up.down.arrow';
Expand All @@ -48,6 +47,7 @@ import { AddPostButton } from '@gitroom/frontend/components/launches/add.post.bu
import { useStateCallback } from '@gitroom/react/helpers/use.state.callback';
import { CopilotPopup } from '@copilotkit/react-ui';
import { useUser } from '@gitroom/frontend/components/layout/user.context';
import { makeId } from '@gitroom/nestjs-libraries/services/make.is';

export const AddEditModal: FC<{
date: dayjs.Dayjs;
Expand Down Expand Up @@ -319,7 +319,7 @@ export const AddEditModal: FC<{
}),
});

existingData.group = uuidv4();
existingData.group = makeId(10);

mutate();
toaster.show(
Expand Down

0 comments on commit 8e2b96c

Please sign in to comment.