Commit 9dfba9c0 authored by StreatCodes's avatar StreatCodes
Browse files

Hide home button on viewer

parent f457c78b
......@@ -45,6 +45,6 @@ export function Viewer({slug}) {
const backgroundImage = dashboard.background ? `url(${dashboard.background})` : 'none';
return <div class="dashboard view-only" style={{backgroundImage: backgroundImage}}>
{elements}
<button class="view-only-button" onClick={e => route('/')}>Home</button>
{/* <button class="view-only-button" onClick={e => route('/')}>Home</button> */}
</div>
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment