Skip to content

Commit

Permalink
remove extra class
Browse files Browse the repository at this point in the history
  • Loading branch information
asanehisa committed Nov 15, 2024
1 parent a2ba15f commit 20af404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/pages/src/scaffold/modules/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const moduleCode = (
moduleName: string,
useTailwind: boolean
): string => {
const tailwind = useTailwind ? ` className="tailwind tw-${moduleName}"` : ``;
const tailwind = useTailwind ? ` className="tw-${moduleName}"` : ``;
const formattedModuleName = formatModuleName(moduleName);

return `import * as React from "react";
Expand Down Expand Up @@ -87,7 +87,7 @@ export const tailwindCode = (
import { scopedPreflightStyles, isolateInsideOfContainer } from 'tailwindcss-scoped-preflight';
export default {
important: '.tailwind.tw-${moduleName}',
important: '.tw-${moduleName}',
content: ["./${projectStructure.config.rootFolders.source}/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {},
Expand Down

0 comments on commit 20af404

Please sign in to comment.