Introduce mock cloud components for easier maintainability (#49)
This commit is contained in:
5
src/cloud/CloudConnect.tsx
Normal file
5
src/cloud/CloudConnect.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
export const CloudConnect = ({ accentColor }: { accentColor: string }) => {
|
||||
return null;
|
||||
};
|
||||
|
||||
export const CLOUD_ENABLED = false;
|
||||
1
src/cloud/README.md
Normal file
1
src/cloud/README.md
Normal file
@@ -0,0 +1 @@
|
||||
Files in this `cloud/` directory can be ignored. They are mocks which we override in our private, hosted version of the agents-playground that supports LiveKit Cloud authentication.
|
||||
3
src/cloud/useCloud.tsx
Normal file
3
src/cloud/useCloud.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
export function CloudProvider({ children }: { children: React.ReactNode }) {
|
||||
return <>{children}</>;
|
||||
}
|
||||
Reference in New Issue
Block a user