Skip to content

Commit 2d8820e

Browse files
committed
chore: add placeholder
1 parent 4a8a473 commit 2d8820e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

models/weaveinit/run_l1_node.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -644,12 +644,14 @@ type GenesisEndpointInput struct {
644644
}
645645

646646
func NewGenesisEndpointInput(state *RunL1NodeState) *GenesisEndpointInput {
647-
return &GenesisEndpointInput{
647+
model := &GenesisEndpointInput{
648648
TextInput: utils.NewTextInput(),
649649
state: state,
650650
question: "Please specify the endpoint to fetch genesis.json",
651651
err: nil,
652652
}
653+
model.WithPlaceholder("Enter endpoint URL")
654+
return model
653655
}
654656

655657
func (m *GenesisEndpointInput) GetQuestion() string {

0 commit comments

Comments
 (0)