File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ export default function App(): JSX.Element {
3030 display : "flex" ,
3131 flexDirection : "column" ,
3232 gap : 10 ,
33- } } >
33+ } }
34+ >
3435 < Button
3536 title = "Trigger Code Action"
3637 onPress = { ( ) => {
@@ -42,7 +43,7 @@ export default function App(): JSX.Element {
4243 />
4344
4445 < Button
45- title = "Set User Id "
46+ title = "Set userId "
4647 onPress = { ( ) => {
4748 setUserId ( "random-user-id" ) . catch ( ( error : unknown ) => {
4849 // eslint-disable-next-line no-console -- logging is allowed in demo apps
@@ -69,10 +70,12 @@ export default function App(): JSX.Element {
6970 < Button
7071 title = "Set User Attributes (single)"
7172 onPress = { ( ) => {
72- setAttribute ( "testSingleAttr" , "testSingleAttr" ) . catch ( ( error : unknown ) => {
73- // eslint-disable-next-line no-console -- logging is allowed in demo apps
74- console . error ( "Error setting user attributes:" , error ) ;
75- } ) ;
73+ setAttribute ( "testSingleAttr" , "testSingleAttr" ) . catch (
74+ ( error : unknown ) => {
75+ // eslint-disable-next-line no-console -- logging is allowed in demo apps
76+ console . error ( "Error setting user attributes:" , error ) ;
77+ }
78+ ) ;
7679 } }
7780 />
7881
@@ -101,7 +104,9 @@ export default function App(): JSX.Element {
101104
102105 < Formbricks
103106 appUrl = { process . env . EXPO_PUBLIC_APP_URL as string }
104- environmentId = { process . env . EXPO_PUBLIC_FORMBRICKS_ENVIRONMENT_ID as string }
107+ environmentId = {
108+ process . env . EXPO_PUBLIC_FORMBRICKS_ENVIRONMENT_ID as string
109+ }
105110 />
106111 </ View >
107112 ) ;
You can’t perform that action at this time.
0 commit comments