Skip to content

Commit

Permalink
add warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkav committed Feb 12, 2025
1 parent dd9453f commit 5b173d1
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions packages/insomnia/src/ui/components/modals/import-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -528,9 +528,7 @@ const ScanResourcesForm = ({
)}
</form>
{scanResults && (
<div
className='margin-top-sm overflow-y-auto'
>
<div className='margin-top-sm overflow-y-auto'>
<ScanResultsTable scanResults={scanResults} />
</div>
)}
Expand Down Expand Up @@ -645,8 +643,15 @@ const ImportResourcesForm = ({
</div>

<div
className='flex gap-[var(--padding-sm)] w-full justify-end items-end'
className='flex gap-[var(--padding-sm)] w-full justify-between items-end'
>
<div>
<div
className='pb-[var(--padding-sm)]'
>
Insomnia provides features that may automatically execute code. Only import files from trusted sources.
</div>
</div>
<Button
variant="contained"
bg="surprise"
Expand Down

0 comments on commit 5b173d1

Please sign in to comment.