Skip to content

Commit ec9c448

Browse files
committed
tweaks and cleanup
1 parent b06448e commit ec9c448

File tree

2 files changed

+4
-20
lines changed

2 files changed

+4
-20
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/Transferrable.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ export function TransferrableModuleUI(
149149
{/* Warning */}
150150
{formFields.fields.length === 0 ? (
151151
<Alert variant="warning">
152-
<CircleAlertIcon className="size-5" />
153-
<AlertTitle>
152+
<CircleAlertIcon className="size-5 max-sm:hidden" />
153+
<AlertTitle className="max-sm:!pl-0">
154154
Nobody has permission to transfer tokens on this contract
155155
</AlertTitle>
156156
</Alert>
@@ -223,8 +223,8 @@ export function TransferrableModuleUI(
223223

224224
{!isRestricted && (
225225
<Alert variant="info">
226-
<CircleAlertIcon className="size-5" />
227-
<AlertTitle>
226+
<CircleAlertIcon className="size-5 max-sm:hidden" />
227+
<AlertTitle className="max-sm:!pl-0">
228228
Transferring tokens in this contract is not restricted.
229229
Everyone is free to transfer their tokens.
230230
</AlertTitle>

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/transferrable.stories.tsx

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,6 @@ export const Mobile: Story = {
3535
const testAddress1 = "0x1F846F6DAE38E1C88D71EAA191760B15f38B7A37";
3636
const testAddress2 = "0x83Dd93fA5D8343094f850f90B3fb90088C1bB425";
3737

38-
export function CheckboxWithText() {
39-
return (
40-
<div className="items-top flex space-x-2">
41-
<Checkbox id="terms1" />
42-
<div className="grid gap-1.5 leading-none">
43-
<label
44-
htmlFor="terms1"
45-
className="font-medium text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
46-
>
47-
Is Owner
48-
</label>
49-
</div>
50-
</div>
51-
);
52-
}
53-
5438
function Component() {
5539
const [isOwner, setIsOwner] = useState(true);
5640
async function updateStub(values: TransferrableModuleFormValues) {

0 commit comments

Comments
 (0)