Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions admin-block/src/BlockExtension.liquid
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{%- if flavor contains "preact" -%}
import '@shopify/ui-extensions/preact';
import {render} from 'preact';

export default function extension() {
Expand Down
1 change: 1 addition & 0 deletions admin-print-action/src/PrintActionExtension.liquid
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{%- if flavor contains "preact" -%}
import '@shopify/ui-extensions/preact';
import {render} from 'preact';
import {useEffect, useState} from 'preact/hooks';

Expand Down
1 change: 1 addition & 0 deletions conditional-action-extension-js/src/ActionExtension.liquid
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{%- if flavor contains "preact" -%}
import '@shopify/ui-extensions/preact';
import {render} from 'preact';
import {useEffect, useState} from 'preact/hooks';

Expand Down
2 changes: 1 addition & 1 deletion customer-account-extension/src/OrderStatusBlock.liquid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{%- if flavor contains "preact" -%}

import '@shopify/ui-extensions/preact';
import {render} from "preact";

export default function() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{%- if flavor contains "preact" -%}
import '@shopify/ui-extensions/preact';
import {render} from 'preact';
import {useState, useEffect} from 'preact/hooks';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{%- if flavor contains "preact" -%}
import '@shopify/ui-extensions/preact';
import {render} from 'preact';
import {useState, useEffect} from 'preact/hooks';

Expand Down