Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "http-react",
"version": "3.7.3",
"version": "3.7.4",
"description": "React hooks for data fetching",
"main": "dist/index.js",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions src/components/server/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"use client"
'use client'

import { FetchConfigAsync } from "../FetchConfigAsync"
import { FetchConfigAsync } from '../FetchConfigAsync'

import { FetchConfig as FConfig, SSRSuspense } from "../index"
import { FetchConfig as FConfig, SSRSuspense } from '../index'

const FetchConfig = typeof window === "undefined" ? FetchConfigAsync : FConfig
const FetchConfig = typeof window === 'undefined' ? FetchConfigAsync : FConfig

export { FetchConfig, SSRSuspense, FConfig as FetchConfigSync }
Loading
Loading