aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.ts2
-rw-r--r--src/styles.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts
index da889fc..9216a0a 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -16,7 +16,7 @@
// along with Immersive. If not, see <https://www.gnu.org/licenses/>.
import fullscreen_credits from './fullscreen_credits';
-import { styles } from './styles';
+import styles from './styles';
import watch_credits from './watch_credits';
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 <https://www.gnu.org/licenses/>.
-export function styles () {
+export default function styles () {
const style = document.createElement('style');
document.head.appendChild(style);