File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
frontend/src/components/FormEndPage Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ export const EndPageBlock = ({
8888 return 'You have successfully submitted your response.'
8989 } , [ formTitle ] )
9090
91- const ogpAwareness = useFeatureValue ( 'ogp-awareness' , 'none ' )
91+ const ogpAwareness = useFeatureValue ( 'ogp-awareness' , 'badge ' )
9292 const ogpAwarenessComponent = ( ( ) => {
9393 switch ( ogpAwareness ) {
9494 case 'banner' :
@@ -102,6 +102,7 @@ export const EndPageBlock = ({
102102
103103 return (
104104 < >
105+ { ogpAwarenessComponent && < Box mb = "1rem" > { ogpAwarenessComponent } </ Box > }
105106 < Box ref = { focusRef } >
106107 < VisuallyHidden aria-live = "assertive" >
107108 { submittedAriaText }
@@ -115,7 +116,6 @@ export const EndPageBlock = ({
115116 </ Box >
116117 ) : null }
117118 </ Box >
118- { ogpAwarenessComponent && < Box mt = "1rem" > { ogpAwarenessComponent } </ Box > }
119119 < Box mt = "1rem" >
120120 < Box >
121121 < Text textColor = "secondary.300" textStyle = "caption-2" >
You can’t perform that action at this time.
0 commit comments