Skip to content
Merged
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
16 changes: 8 additions & 8 deletions .github/workflows/pioneer-pr.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Pioneer-PR
name: Pioneer
on: [pull_request, push]

jobs:
pioneer_build_code:
name: Pioneer Build Code
pioneer_build_ubuntu:
name: Ubuntu Build
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -17,11 +17,11 @@ jobs:
- name: build
run: |
yarn install --frozen-lockfile
yarn workspace pioneer run build:code
yarn workspace pioneer run build

pioneer_build_i18n:
name: Pioneer Build i18n
runs-on: ubuntu-latest
pioneer_build_osx:
name: MacOS Build
runs-on: macos-latest
strategy:
matrix:
node-version: [12.x]
Expand All @@ -34,4 +34,4 @@ jobs:
- name: build
run: |
yarn install --frozen-lockfile
yarn workspace pioneer run build:i18n
yarn workspace pioneer run build
2 changes: 1 addition & 1 deletion pioneer/packages/joy-utils/src/react/context/transport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { createContext, useContext } from "react";
import { ApiContext } from "@polkadot/react-api";
import { ApiProps } from "@polkadot/react-api/types";

import Transport from "../../transport";
import Transport from "../../transport/index";

export const TransportContext = createContext<Transport>((null as unknown) as Transport);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useContext } from 'react';
import Transport from "../../transport";
import Transport from "../../transport/index";
import { TransportContext } from "../context";

export default function useTransport() {
Expand Down