mirror of
https://github.com/abhay-raizada/PeerScribe.git
synced 2026-04-27 00:34:03 +00:00
Add Inputs
This commit is contained in:
4
App.tsx
4
App.tsx
@@ -24,10 +24,10 @@ function App(): React.JSX.Element {
|
||||
console.log('inside useeffect');
|
||||
const fetchForm = async () => {
|
||||
if (!form) {
|
||||
console.log('fetchiiiing forrmmm!!!');
|
||||
let form = await getFormTemplate(
|
||||
'eb3df1f89653475f0bcbd22da35f8d2f126db8a68a88a7abedc53535c76c39b4',
|
||||
)
|
||||
console.log("Form isss", form)
|
||||
setForm(form);
|
||||
}
|
||||
};
|
||||
@@ -43,7 +43,7 @@ function App(): React.JSX.Element {
|
||||
<ScrollView
|
||||
contentInsetAdjustmentBehavior="automatic"
|
||||
style={backgroundStyle}>
|
||||
<PrescriptionCreator />
|
||||
<PrescriptionCreator form={form}/>
|
||||
</ScrollView>
|
||||
</SafeAreaView>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user