From 0646d26a445e201e2eaf91d65caf79da8901e2bc Mon Sep 17 00:00:00 2001 From: Yoshihiro OKUMURA Date: Mon, 17 Jun 2019 16:57:12 +0900 Subject: [PATCH] fixed bug to download banner file. --- src/database/item-type/url/UrlUtil.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/database/item-type/url/UrlUtil.tsx b/src/database/item-type/url/UrlUtil.tsx index 16a3313..1dbbfd2 100644 --- a/src/database/item-type/url/UrlUtil.tsx +++ b/src/database/item-type/url/UrlUtil.tsx @@ -1,5 +1,4 @@ import React from 'react'; -import { Link } from 'react-router-dom'; import { MultiLang } from '../../../config'; import ItemUtil, { ItemBasicFile } from '../../lib/ItemUtil'; @@ -18,7 +17,7 @@ const BannerFile = (props: BannerFileProps) => { } const url = ItemUtil.getFileUrl(data); return ( - banner + banner ); } @@ -26,4 +25,4 @@ const UrlUtil = { BannerFile, } -export default UrlUtil; \ No newline at end of file +export default UrlUtil;