summaryrefslogtreecommitdiff
path: root/src/view.rs
diff options
context:
space:
mode:
authorjelemux <jeremias.weber@protonmail.com>2020-10-21 22:03:11 +0200
committerjelemux <jeremias.weber@protonmail.com>2020-10-21 22:03:11 +0200
commita282937caa839ef52f213355e60f5512d5593a92 (patch)
treeda8deacae950a2c2703b76c2ae4a3daf9738665e /src/view.rs
parent10eb0e8cff7f0bc6b61a77a179fec55ee1dfe929 (diff)
downloadwasm-card-a282937caa839ef52f213355e60f5512d5593a92.tar.gz
wasm-card-a282937caa839ef52f213355e60f5512d5593a92.tar.bz2
removed some unused code
Diffstat (limited to 'src/view.rs')
-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),