fix: naming

This commit is contained in:
2026-02-26 00:55:13 +08:00
parent d94484220c
commit 82daaf255e
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ function rollDice(formula: string): number {
return total;
}
customElement('ttrpg-dice', { key: '' }, (props, { element }) => {
customElement('md-dice', { key: '' }, (props, { element }) => {
noShadowDOM();
const [result, setResult] = createSignal<number | null>(null);
const [isRolled, setIsRolled] = createSignal(false);
+1 -1
View File
@@ -8,7 +8,7 @@ interface TableRow {
[key: string]: string;
}
customElement('ttrpg-table', { src: '', roll: false, remix: false }, (props, { element }) => {
customElement('md-table', { src: '', roll: false, remix: false }, (props, { element }) => {
noShadowDOM();
const [rows, setRows] = createSignal<TableRow[]>([]);
const [activeTab, setActiveTab] = createSignal(0);