Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanphan committed Apr 17, 2024
1 parent 6759272 commit d6f7805
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 1 addition & 2 deletions clients/js/src/createCandyMachine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ export type CreateCandyMachineInput = Omit<
};

export const createCandyMachine = async (
context: Parameters<typeof initializeCandyMachine>[0] &
Pick<Context, 'rpc'>,
context: Parameters<typeof initializeCandyMachine>[0] & Pick<Context, 'rpc'>,
input: CreateCandyMachineInput
): Promise<TransactionBuilder> => {
const space = getCandyMachineSize(
Expand Down
6 changes: 1 addition & 5 deletions clients/js/test/createCandyMachineV2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ import {
transactionBuilder,
} from '@metaplex-foundation/umi';
import test from 'ava';
import {
CandyMachine,
createCandyMachine,
fetchCandyMachine,
} from '../src';
import { CandyMachine, createCandyMachine, fetchCandyMachine } from '../src';
import { createCollection, createUmi, defaultCandyMachineData } from './_setup';

test('it can create a candy machine using config line settings', async (t) => {
Expand Down

0 comments on commit d6f7805

Please sign in to comment.