Skip to content

Commit

Permalink
Update page.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ElyasMehraein committed Apr 30, 2024
1 parent 1b841dd commit c64ac1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/all/page.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import connectToDB from "@/configs/db";
import BusinessModel from "@/models/Business";
import AllBusinesses from "@/components/templates/allBusinesses/AllBusinesses";

import dynamic from 'next/dynamic'
const AllBusinesses = dynamic(() => import("@/components/templates/allBusinesses/AllBusinesses"))

const page = async function () {
try {
Expand Down

0 comments on commit c64ac1f

Please sign in to comment.