Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
3 changes: 1 addition & 2 deletions packages/react-native/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Formbricks } from "@/components/formbricks";
import { CommandQueue } from "@/lib/common/command-queue";
import { Logger } from "@/lib/common/logger";
import * as Actions from "@/lib/survey/action";
Expand Down Expand Up @@ -39,4 +38,4 @@ export const logout = async (): Promise<void> => {
await queue.wait();
};

export default Formbricks;
export { Formbricks as default } from "@/components/formbricks";
146 changes: 0 additions & 146 deletions packages/react-native/src/lib/common/file-upload.ts

This file was deleted.

6 changes: 3 additions & 3 deletions packages/react-native/src/lib/common/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ const shouldSyncConfig = (
): boolean => {
return Boolean(
existingConfig?.environment &&
existingConfig.environmentId === configInput.environmentId &&
existingConfig.appUrl === configInput.appUrl
existingConfig.environmentId === configInput.environmentId &&
existingConfig.appUrl === configInput.appUrl
);
};

Expand Down Expand Up @@ -412,7 +412,7 @@ export const handleErrorOnFirstSetup = async (e: {
const initialErrorConfig: Partial<TConfig> = {
status: {
value: "error",
expiresAt: new Date(new Date().getTime() + 10 * 60000), // 10 minutes in the future
expiresAt: new Date(Date.now() + 10 * 60000), // 10 minutes in the future
},
};

Expand Down
186 changes: 0 additions & 186 deletions packages/react-native/src/lib/common/tests/file-upload.test.ts

This file was deleted.

Loading