Skip to content

Commit

Permalink
Merge pull request #2908 from amitsingh-007/b-fix-image-upload-breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsingh-007 authored Feb 16, 2024
2 parents e5a2206 + fcbdf85 commit d6b92cd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
10 changes: 1 addition & 9 deletions apps/extension/src/PersonsPanel/components/ImagePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const ImagePicker = memo<Props>(function ImagePicker({
}
};

const disableControls = isLoadingImage || !inputImageUrl;
return (
<Modal
opened={isOpen}
Expand Down Expand Up @@ -113,7 +112,6 @@ const ImagePicker = memo<Props>(function ImagePicker({
max={3}
step={0.001}
label={(value) => value.toFixed(1)}
disabled={disableControls}
color={zoom > 2 ? 'red' : 'blue'}
/>
</Box>
Expand All @@ -125,17 +123,11 @@ const ImagePicker = memo<Props>(function ImagePicker({
onChange={setRotation}
min={0}
max={360}
disabled={disableControls}
/>
</Box>
</Group>
<Group mt={8} justify="center">
<Button
disabled={disableControls}
radius="xl"
color="teal"
onClick={saveCroppedImage}
>
<Button radius="xl" color="teal" onClick={saveCroppedImage}>
Save Cropped Image
</Button>
</Group>
Expand Down
6 changes: 6 additions & 0 deletions apps/web/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ const isDev = process.env.VERCEL_ENV === 'development';
**/
const nextConfig = {
productionBrowserSourceMaps: true,
experimental: {
/**
* @link https://github.com/vercel/next.js/issues/55682#issuecomment-1739894301
*/
serverMinification: false,
},
compiler: {
removeConsole: isDev ? false : { exclude: ['error'] },
},
Expand Down
2 changes: 1 addition & 1 deletion packages/configs/manifest/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"key": "fdnekjijeofacghkammknogmiapepano",
"version": "20.2.1",
"version": "20.2.2",
"manifest_version": 3,
"short_name": "Bypass Links",
"name": "Bypass Links",
Expand Down

1 comment on commit d6b92cd

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for bypass-links ready!

✅ Preview
https://bypass-links-2t0fmvhcw-amitsingh-007.vercel.app

Built with commit d6b92cd.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.