Skip to content

Commit 3ebc057

Browse files
committed
fix: rm logs
1 parent 4616ed4 commit 3ebc057

File tree

4 files changed

+1
-5
lines changed

4 files changed

+1
-5
lines changed

src/app/collections/route.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ export async function GET(request: NextRequest) {
99
const pageParam = searchParams.get("pageParam") ?? "0"
1010
const limit = searchParams.get("limit") ?? "12"
1111

12-
console.log({ handle, pageParam, limit })
13-
1412
const collection = await fetchCollection(handle)
1513
.then((res) => res)
1614
.catch((error) => {

src/lib/context/account-context.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ export const AccountProvider = ({ children }: AccountProviderProps) => {
3939
remove,
4040
} = useMeCustomer({ onError: () => {} })
4141

42-
console.log({ customer, retrievingCustomer })
4342
const loginView = useState<LOGIN_VIEW>(LOGIN_VIEW.SIGN_IN)
4443

4544
const router = useRouter()

src/modules/account/templates/account-layout.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ import AccountNav from "../components/account-nav"
99
const AccountLayout: React.FC = ({ children }) => {
1010
const { customer, retrievingCustomer, checkSession } = useAccount()
1111

12-
console.log({ customer, retrievingCustomer })
13-
1412
useEffect(() => {
1513
checkSession()
1614
}, [checkSession])

src/modules/collections/templates/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ const CollectionTemplate: React.FC<CollectionTemplateProps> = ({
8888
<ul className="grid grid-cols-2 small:grid-cols-3 medium:grid-cols-4 gap-x-4 gap-y-8">
8989
{previews.map((p) => (
9090
<li key={p.id}>
91+
{console.log(p)}
9192
<ProductPreview {...p} />
9293
</li>
9394
))}

0 commit comments

Comments
 (0)