Skip to content

Commit

Permalink
Fix: removed top level await
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Feb 25, 2024
1 parent a2f846a commit 7a23329
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hooks/breakpoint.js → src/hooks/breakpoint.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { useEffect, useState } from "react";
import { default as resolveConfig } from "tailwindcss/resolveConfig";

let tailwindConfig = (await import("../../tailwind.config.js")).default;
import tailwindConfig from "../../tailwind.config.js";

const config = resolveConfig(tailwindConfig);

Expand Down

0 comments on commit 7a23329

Please sign in to comment.