Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Mysten committed Jul 18, 2023
1 parent 3b20d6a commit c511927
Show file tree
Hide file tree
Showing 14 changed files with 504 additions and 137 deletions.
2 changes: 1 addition & 1 deletion apps/explorer/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
4 changes: 1 addition & 3 deletions apps/explorer/src/components/OwnedObjects/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ export function OwnedObjects({ id }: { id: string }) {
<>
<div className="flex max-h-80 flex-col overflow-auto">
<div className="grid grid-cols-1 gap-4 md:grid-cols-2">
{filteredData?.map((obj) => (
<OwnedObject obj={obj} key={obj?.data?.objectId} />
))}
{filteredData?.map((obj) => <OwnedObject obj={obj} key={obj?.data?.objectId} />)}
</div>
</div>
{filter !== 'kiosks' && <Pagination {...pagination} />}
Expand Down
4 changes: 1 addition & 3 deletions apps/explorer/src/ui/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ export function Search({
) : hasOptions ? (
options.map(({ label, results }) => (
<div key={label}>
{results?.map((item) => (
<SearchItem key={item.id} value={item} />
))}
{results?.map((item) => <SearchItem key={item.id} value={item} />)}
</div>
))
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@
.hidden {
transform: translateY(100%);
opacity: 0;
transition: transform 300ms ease-in-out, opacity 0ms ease-in 300ms;
transition:
transform 300ms ease-in-out,
opacity 0ms ease-in 300ms;
}

/* TODO update icons so they are all the same size */
Expand Down
2 changes: 1 addition & 1 deletion apps/wallet/src/ui/index.template.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
Expand Down
4 changes: 2 additions & 2 deletions apps/wallet/src/ui/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mysten Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

import '@fontsource-variable/inter';
import '@fontsource-variable/red-hat-mono';
import { GrowthBookProvider } from '@growthbook/growthbook-react';
import { RpcClientContext } from '@mysten/core';
import { PersistQueryClientProvider } from '@tanstack/react-query-persist-client';
Expand All @@ -24,8 +26,6 @@ import store from '_store';
import { api, thunkExtras } from '_store/thunk-extras';

import './styles/global.scss';
import '@fontsource-variable/inter';
import '@fontsource-variable/red-hat-mono';
import 'bootstrap-icons/font/bootstrap-icons.scss';

async function init() {
Expand Down
5 changes: 3 additions & 2 deletions apps/wallet/src/ui/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ textarea {
}

textarea {
font-family: "Inter Variable", sans-serif;
font-family: 'Inter Variable', sans-serif;
}

// remove default password reveal button edge
Expand All @@ -108,7 +108,8 @@ textarea {

@font-face {
font-family: 'Frankfurter Normal';
src: url('../assets/fonts/FrankfurterNormal.woff2') format('woff2'),
src:
url('../assets/fonts/FrankfurterNormal.woff2') format('woff2'),
url('../assets/fonts/FrankfurterNormal.woff') format('woff');
}

Expand Down
2 changes: 1 addition & 1 deletion apps/wallet/tests/demo-app/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion dapps/kiosk/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion dapps/multisig-toolkit/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion dapps/sponsored-transactions/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
"@changesets/cli": "^2.26.2",
"@manypkg/cli": "^0.21.0",
"@tanstack/eslint-plugin-query": "^4.29.25",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"eslint": "^8.43.0",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-react-app": "^7.0.1",
"eslint-import-resolver-typescript": "^3.5.5",
Expand All @@ -59,7 +59,7 @@
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-require-extensions": "^0.1.3",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-plugin-unused-imports": "^2.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.4.1",
"turbo": "^1.10.8",
Expand Down
Loading

0 comments on commit c511927

Please sign in to comment.