Skip to content

Commit 6f1738d

Browse files
committed
chore: 🤖 change card type to hide the default action button
1 parent b60af6f commit 6f1738d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

‎redbrick-rotate-game/src/cards/Spin.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ export const Spin: React.FC = () => {
5353
const [isDialogOpen, setIsDialogOpen] = useState(false);
5454

5555
useEffect(() => {
56-
tokenscript.action.setActionButton({ show: false });
5756
setLoading(false);
5857
async function run() {
5958
const eventStatus = await getGameStatus();

‎redbrick-rotate-game/tokenscript.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<ts:include type="css" src="./src/styles.css"/>
3535
</ts:viewContent>
3636

37-
<ts:card type="action" name="Spin">
37+
<ts:card type="token" name="Spin">
3838
<ts:label>
3939
<ts:string xml:lang="en">Spin</ts:string>
4040
</ts:label>

0 commit comments

Comments
 (0)