+ );
+ }
+
+ // Show error state
+ if (state.status === 'error') {
+ return (
+
+
+
+ {state.error || 'An error occurred while processing this submission'}
+
+
+
+
+
+ );
+ }
+
+ // Show lock expired warning
+ if (state.status === 'lock_expired') {
+ return (
+
+
+
+ Your lock on this submission has expired. You need to re-claim it to continue.
+