Skip to content

Commit

Permalink
fix: remove personal values as default values.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadogg80 authored Feb 14, 2024
1 parent 95560e6 commit 7afea60
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion pages/org/quotient/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ const QuotientBankForm = () => {

useEffect(() => {
const [govId, webcamPic] = [form.getValues('govId'), form.getValues('webcamPic')];

if (isCaptureCompleted && webcamPic === '') {
form.resetField('webcamPic', { defaultValue: '/example_webcam.png' });
}
Expand Down
20 changes: 10 additions & 10 deletions pages/org/quotient/loan.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ const DEFAULT_FORM_VALUES = {
make: 'Toyota',
model: 'Celica',
price: '28999',
firstName: 'ken',
middleName: 'zambrano',
lastName: 'de jesus',
firstName: 'John',
middleName: 'D',
lastName: 'Smith',
suffix: 'He',
streetAddress: 'asdasdasd',
suite: 'asdasd',
zipCode: '1233',
city: 'caracas',
state: 'caracas',
email: 'asdg@gmail.com',
phoneNumber: '12312312321',
streetAddress: 'Someaddress',
suite: '',
zipCode: '122213',
city: 'some city',
state: 'some state',
email: 'someæ@email.com',
phoneNumber: '123 456 789',
};

/**
Expand Down

0 comments on commit 7afea60

Please sign in to comment.