Skip to content

Commit

Permalink
Merge pull request #518 from pennlabs/anli/03-22-remove-duplicate-web…
Browse files Browse the repository at this point in the history
…-view

Remove duplicate WebView
  • Loading branch information
anli5005 authored Mar 22, 2024
2 parents 199a167 + 5b536bd commit f18670a
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,3 @@ struct DiningVenueDetailMenuView: View {

}
}

struct WebView: UIViewRepresentable {
let url: URL
func makeUIView(context: Context) -> WKWebView {
return WKWebView()
}
func updateUIView(_ uiView: WKWebView, context: Context) {
uiView.load(URLRequest(url: url))
}
}

0 comments on commit f18670a

Please sign in to comment.