Skip to content

Commit

Permalink
Update uuid import from default
Browse files Browse the repository at this point in the history
  • Loading branch information
aviupadhyayula committed Sep 24, 2023
1 parent e54e75f commit 18a729d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/components/FormComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import DatePicker from 'react-datepicker'
import Select from 'react-select'
import CreatableSelect from 'react-select/creatable'
import styled from 'styled-components'
import uuid from 'uuid'
import { v4 as uuidv4 } from 'uuid'

import { DynamicQuestion } from '../types'
import { titleize } from '../utils'
Expand Down Expand Up @@ -527,7 +527,7 @@ export const DynamicQuestionField = useFieldWrapper(

const addField = (type: string): void => {
values.push({
name: uuid.v4(),
name: uuidv4(),
label: '',
type: type,
choices: [],
Expand Down

0 comments on commit 18a729d

Please sign in to comment.