Skip to content

Commit

Permalink
sigh: yes, we need to load styles first
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Feb 17, 2024
1 parent 0c70df6 commit 4356a8a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions assets/js/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import './styles.js';
import "phoenix_html";
import { Socket, LongPoll } from "phoenix";
import topbar from "topbar";
Expand Down Expand Up @@ -53,6 +54,3 @@ liveSocket.connect();
window.liveSocket = liveSocket;

replaceIcons();

// We do this later because problems with this shouldn't crash the entire page.
import('./styles.js').then(() => { }, console.error);

0 comments on commit 4356a8a

Please sign in to comment.