Skip to content

Commit 9355b50

Browse files
MichaelDeBoeySaraVieira
authored andcommitted
🔨 Switch Functions to use useOvermind (codesandbox#2578)
1 parent 400bf0a commit 9355b50

File tree

1 file changed

+6
-2
lines changed
  • packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Deployment/Netlify/SiteInfo/Functions

1 file changed

+6
-2
lines changed

‎packages/app/src/app/pages/Sandbox/Editor/Workspace/items/Deployment/Netlify/SiteInfo/Functions/Functions.tsx‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
import React from 'react';
1+
import { Module } from '@codesandbox/common/lib/types';
2+
import React, { FunctionComponent } from 'react';
23

34
import { SubTitle } from '../elements';
45

56
import { Section } from './elements';
67
import { Function } from './Function';
78

8-
export const Functions = ({ functions }) => (
9+
type Props = {
10+
functions: Module[];
11+
};
12+
export const Functions: FunctionComponent<Props> = ({ functions }) => (
913
<>
1014
<SubTitle>Functions</SubTitle>
1115

0 commit comments

Comments
 (0)