diff options
Diffstat (limited to 'web/source/settings/components/back-button.jsx')
-rw-r--r-- | web/source/settings/components/back-button.jsx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/web/source/settings/components/back-button.jsx b/web/source/settings/components/back-button.jsx index 05306e2ea..bf9038b2b 100644 --- a/web/source/settings/components/back-button.jsx +++ b/web/source/settings/components/back-button.jsx @@ -17,13 +17,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -const React = require("react"); -const { Link } = require("wouter"); +import React from "react"; +import { Link } from "wouter"; -module.exports = function BackButton({ to }) { +export default function BackButton({ to }) { return ( - <Link to={to}> - <a className="button">< back</a> - </Link> + <Link className="button" to={to}>< back</Link> ); -};
\ No newline at end of file +} |