Don't know what to pass in configuration.

In
Code Block
PlaceHolderView

the code below needs a configuration to be passed while initializing SimpleEntry struct.

Code Block
     EmojiRangerWidgetEntryView(entry: SimpleEntry(date: Date(), configuration: , character: .panda))


I tried removing the configuration property from the struct but that renders a blank view in the Canvas.

Below is the auto-generated code of SimpleEntry except for the character property.
Code Block
struct SimpleEntry: TimelineEntry {
  public let date: Date
  public let configuration: ConfigurationIntent
  let character: CharacterDetail
}



Replies

Figured, I was following the code-along since the first video. So the problem was me working on IntentConfiguration instead of StaticConfiguration.