Skip to content

Commit

Permalink
Update uuid import from default (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviupadhyayula authored Sep 24, 2023
1 parent e54e75f commit 8dae4d6
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 8dae4d6

Please sign in to comment.