summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/view.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/view.rs b/src/view.rs
index 6953496..281cb63 100644
--- a/src/view.rs
+++ b/src/view.rs
@@ -52,11 +52,6 @@ impl Component for Form {
fn view(&self) -> Html {
- let raw = pdfgen::genpdf();
- let data = base64::encode(&raw);
- let uri_component: String = js_sys::encode_uri_component(&data).into();
- let href = format!{"data:application/pdf;base64,{}", uri_component };
-
let formatted_name_input = self.link.callback(|e: ChangeData|
match e {
ChangeData::Value(v) => Msg::UpdateFormattedName(v),