Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiVandivier committed Dec 17, 2024
1 parent e423dca commit 775f205
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions examples/simple-app/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ const Component = () => {
{loading && <span>...</span>}
{data && (
<>
<h1>
{i18n.t('Hello {{name}}', { name: data.me.name })}
</h1>
<h1>{i18n.t('Hello {{name}}', { name: data.me.name })}</h1>
<h3>
{i18n.t('Have a great {{dayOfTheWeek}}!', {
// NB: This won't localize on a dev build due to
Expand Down
4 changes: 2 additions & 2 deletions shell/src/PluginLoader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ const PluginResizeInner = ({

PluginResizeInner.propTypes = {
D2App: PropTypes.object,
clientWidth: PropTypes.string,
config: PropTypes.object,
propsFromParent: PropTypes.object,
resizePluginHeight: PropTypes.func,
resizePluginWidth: PropTypes.func,
clientWidth: PropTypes.string,
}

const PluginInner = ({
Expand Down Expand Up @@ -93,11 +93,11 @@ const PluginInner = ({

PluginInner.propTypes = {
D2App: PropTypes.object,
clientWidth: PropTypes.string,
config: PropTypes.object,
propsFromParent: PropTypes.object,
resizePluginHeight: PropTypes.func,
resizePluginWidth: PropTypes.func,
clientWidth: PropTypes.string,
}

export const PluginLoader = ({ config, requiredProps, D2App }) => {
Expand Down

0 comments on commit 775f205

Please sign in to comment.