Skip to content

Commit

Permalink
Update src/SpaceApp.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
bangarang and coderabbitai[bot] committed May 9, 2024
1 parent 86f1627 commit 9750ad8
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions src/SpaceApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,14 @@ import { sheet } from "./configs/sheet";
import { workbook } from "./configs/workbook";
import { document } from "./configs/document";

export const SpaceApp = ({ publishableKey }: { publishableKey: string }) => {
return (
<FlatfileProvider
publishableKey={publishableKey}
config={{
displayAsModal: false,
}}
>
<SpaceConfig />
</FlatfileProvider>
);
};
export const SpaceApp = ({ publishableKey }: { publishableKey: string }) => (
<FlatfileProvider
publishableKey={publishableKey}
config={{ displayAsModal: false }}
>
<SpaceConfig />
</FlatfileProvider>
);

const SpaceConfig = () => {
const { open, openPortal, closePortal } = useFlatfile();
Expand Down

0 comments on commit 9750ad8

Please sign in to comment.