Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
EdenComp committed Mar 19, 2023
1 parent 60bec88 commit 61fc608
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/cards/PathCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const PathCard = (): JSX.Element => {
return (
<HStack w="100%">
<Button
backgroundColor={config?.theme}
backgroundColor={config?.theme.value}
size="sm"
w="10%"
p="0px"
Expand Down
2 changes: 1 addition & 1 deletion src/components/computing/github/GithubModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const GithubModal = ({ isOpen, onClose }: { isOpen: boolean; onClose: () => void
setIsDeployLoading(true);
const result = await axios.post('/api/program/create', {
repository: `${repository}.git`,
entrypoint: customEntrypoint || user.config?.defaultEntrypoint || 'main:app',
entrypoint: customEntrypoint || user.config?.defaultEntrypoint.value || 'main:app',
});
if (result.status !== 200) throw new Error('Unable to clone repository from github');
const newProgram: IPCProgram = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/computing/programs/ProgramModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const ProgramModal = ({
name: customName || filename,
hash: '',
createdAt: Date.now(),
entrypoint: customEntrypoint || user.config?.defaultEntrypoint || 'main:app',
entrypoint: customEntrypoint || user.config?.defaultEntrypoint.value || 'main:app',
size: fileEvent.target.files[0].size,
},
fileEvent.target.files[0],
Expand Down
2 changes: 1 addition & 1 deletion src/components/dashboardPage/ContactOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const ContactOptionsPopover = ({
<Portal>
<PopoverContent
w="250px"
backgroundColor={config?.theme ?? 'white'}
backgroundColor={config?.theme.value ?? 'white'}
borderRadius="8px"
border="2px solid #E8EBFF"
_focus={{
Expand Down
2 changes: 1 addition & 1 deletion src/components/dashboardPage/FileOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const FileOptionsPopover = ({
<Portal>
<PopoverContent
w="250px"
backgroundColor={config?.theme ?? 'white'}
backgroundColor={config?.theme.value ?? 'white'}
borderRadius="8px"
border="2px solid #E8EBFF"
_focus={{
Expand Down
2 changes: 1 addition & 1 deletion src/components/dashboardPage/FolderOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const FolderOptionsPopover = ({
<Portal>
<PopoverContent
w="250px"
backgroundColor={config?.theme ?? 'white'}
backgroundColor={config?.theme.value ?? 'white'}
borderRadius="8px"
border="2px solid #E8EBFF"
_focus={{
Expand Down
2 changes: 1 addition & 1 deletion src/components/dashboardPage/ProgramOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const ProgramOptionsPopover = ({
<Portal>
<PopoverContent
w="250px"
backgroundColor={config?.theme ?? 'white'}
backgroundColor={config?.theme.value ?? 'white'}
borderRadius="8px"
border="2px solid #E8EBFF"
_focus={{
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Navigation = ({ children }: { children: JSX.Element }): JSX.Element => {
return (
<VStack
align="start"
bg={config?.theme ?? 'white'}
bg={config?.theme.value ?? 'white'}
m={{ base: '128px 64px 32px 64px', lg: '128px 64px 32px 364px' }}
>
<ResponsiveBar />
Expand Down

0 comments on commit 61fc608

Please sign in to comment.