From 21afe4648732d2fc6b6fc0a92de3a0b0d7f91264 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 9 May 2020 00:02:31 +0200 Subject: styles: Make the styles() function the default export --- src/styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/styles.ts') diff --git a/src/styles.ts b/src/styles.ts index ca4e64a..3e1658b 100644 --- a/src/styles.ts +++ b/src/styles.ts @@ -15,7 +15,7 @@ // You should have received a copy of the GNU General Public License // along with Immersive. If not, see . -export function styles () { +export default function styles () { const style = document.createElement('style'); document.head.appendChild(style); -- cgit v1.2.3