chore: vendor client into main repo
This commit is contained in:
4
client/components/useClientOnlyValue.ts
Normal file
4
client/components/useClientOnlyValue.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// This function is web-only as native doesn't currently support server (or build-time) rendering.
|
||||
export function useClientOnlyValue<S, C>(server: S, client: C): S | C {
|
||||
return client;
|
||||
}
|
||||
Reference in New Issue
Block a user