Skip to content

Commit

Permalink
Update EditContainer.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
kokofixcomputers authored Oct 30, 2024
1 parent 6045fc4 commit 59c49d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/scripts/components/server/edit/EditContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import TitledGreyBox from '@/components/elements/TitledGreyBox';
import SpinnerOverlay from '@/components/elements/SpinnerOverlay';
import ServerContentBlock from '@/components/elements/ServerContentBlock';
import ResourceBar from '@/components/elements/store/ResourceBar';

Check warning on line 14 in resources/scripts/components/server/edit/EditContainer.tsx

View workflow job for this annotation

GitHub Actions / TypeScript

'ResourceBar' is defined but never used. Allowed unused vars must match /^_/u

Check warning on line 14 in resources/scripts/components/server/edit/EditContainer.tsx

View workflow job for this annotation

GitHub Actions / TypeScript Linting

'ResourceBar' is defined but never used. Allowed unused vars must match /^_/u
import ServerLimitationBar from '@/components/elements/server/ServerLimitationBar';


Check failure on line 17 in resources/scripts/components/server/edit/EditContainer.tsx

View workflow job for this annotation

GitHub Actions / TypeScript

Delete `⏎`
const Container = styled.div`
${tw`flex flex-wrap`};
Expand Down Expand Up @@ -72,7 +74,7 @@ export default () => {
>
This will move resources between your account and the server. Are you sure you want to continue?
</Dialog.Confirm>
<ResourceBar className={'w-full lg:w-3/4'} />
<ServerLimitationBar className={'w-full lg:w-3/4'} />
<Container css={tw`lg:grid lg:grid-cols-3 gap-4 my-10`}>
<TitledGreyBox title={'Edit server CPU limit'} css={tw`mt-8 sm:mt-0`}>
<Wrapper>
Expand Down

0 comments on commit 59c49d2

Please sign in to comment.