fix: clear commands after entering
This commit is contained in:
		| @@ -2,11 +2,13 @@ import { PageProps } from "$fresh/server.ts"; | ||||
|  | ||||
| import { Head } from "$fresh/runtime.ts"; | ||||
| export default function App({ Component }: PageProps) { | ||||
|   const css = Deno.readTextFileSync("./static/global.css").replace("\n", ""); | ||||
|   const globalCss = Deno | ||||
|     .readTextFileSync("./static/global.css") | ||||
|     .replaceAll("\n", ""); | ||||
|   return ( | ||||
|     <> | ||||
|       <Head> | ||||
|         <link href="/prism-material-dark.css" rel="stylesheet" /> | ||||
|         <link rel="stylesheet" href="/styles.css" /> | ||||
|         <link | ||||
|           rel="apple-touch-icon" | ||||
|           sizes="180x180" | ||||
| @@ -25,14 +27,13 @@ export default function App({ Component }: PageProps) { | ||||
|           href="/favicon-16x16.png" | ||||
|         /> | ||||
|         <link rel="manifest" href="/site.webmanifest" /> | ||||
|         <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" /> | ||||
|         <link rel="stylesheet" href="/styles.css" /> | ||||
|         <meta name="msapplication-TileColor" content="#da532c" /> | ||||
|         <meta name="theme-color" content="#141218" /> | ||||
|         <script src="/thumbnails.js" type="module"></script> | ||||
|         <style>{css}</style> | ||||
|         <style>{globalCss}</style> | ||||
|         <title>app</title> | ||||
|       </Head> | ||||
|       <Component /> | ||||
|       <script src="/thumbnails.js" type="module" async defer /> | ||||
|     </> | ||||
|   ); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user